Hi,
is this a glitch in the Matrix?
LBL "f"
MVAR "x"
RCL "x"
GAMMA
10
-
.END.
After calling "f" via the solver I did
0
"x"
10
"x"
"x"
and got 4.39007765083....
then
EXIT
EXIT
to go back to the "desktop" and CLST
then same procedure as last year, Miss Sophie and
0
"x"
100
"x"
"x"
...results in 50.
?
Gamma is (WARNING! DENGLISH ahead) steadily growing...but two roots?
Calling f with 50 manually result in 6.something.
Any hint what I did wrong?
Cheers!
Meino
Solver and the GAMMA function
Solver and the GAMMA function
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
-
- Posts: 1100
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Solver and the GAMMA function
Clearly SOLVE isn't handling this as well as it should, but 0 is a terrible starting guess for GAMMA. Try 1 instead.
-
- Posts: 1100
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Solver and the GAMMA function
When you say "calling f with 50 manually," do you mean
50 XEQ "f"
? Because that doesn't work; you must do
50 STO "x" XEQ "f"
since the function gets its parameter from the variable "x", not from the stack.
(In case your 6.something meant 6.somethingE62, ignore this whole post.)