Re: UTPN in the solver Message #2 Posted by James M. Prange (Michigan) on 11 Dec 2007, 4:56 p.m., in response to message #1 by Benny
Hi Benny,
Quote:
Hi,
I like to enter the following equation in the singe equation solver:
'p=UTPN(µ, B, x)' but I still get "invalid syntax".
I tried it on the 50g and on the 48gx. Does this look familiar to somebody?
Sure, it's because UTPN is implemented only as a postfix RPN command, not as
an algebraic function, thus it can be used an an "immediate" RPN command with
the arguments already on the stack, or as a command within a program, but not
as a function within an algebraic object.
You can, however, make your own userdefined function with the UTPN command.
Write the program:
\<< \> m v x \<< m v x UTPN \>>
and store it in a global variable with any valid global name that you choose
to use. If you use, for example, the name 'Utpn' for the variable, then you
can use it as either a postfix RPN command with the syntax m v x Utpn, or
within an algebraic object with the syntax 'Utpn(m,v,x)', where m, v, and x
represent the mean, variance, and a given value of a normal distribution.
Regards, James
