The Museum of HP Calculators

HP Forum Archive 01

[ Return to Index | Top of Index ]

Programming advice needed.
Message #1 Posted by T. Lewis on 19 Oct 1999, 2:56 a.m.

Ive been trying to write a program to calculate the radius of curvature for a fuction in terms of x at a specific value of x. What I want to do is put the function on level two and the value for x on level one and then execute.

fX '((1+f'X)^3/2)/f''X 'EVAL EVAL EVAL

This works but only if Ive got the X value stored as a VAR. I dont want that.

I want to do it all in one step without extra variables in the directory or calling another program.

X fX 'rad(X)=((1+f'X... is what Im trying to do but I cant find anything that deals with this. Im not sure if it can even be done. Any help would be appreciated. Oh yea, is there any other way of taking a second derivitive of fx without parenthasizing it twice? Tod Lewis

Re: Programming advice needed.
Message #2 Posted by Viktor Toth on 19 Oct 1999, 6:09 a.m.,
in response to message #1 by T. Lewis


Please see my response sent in e-mail. This board unfortunately doesn't allow the use of characters like greater-than or less-than, making it very difficult to post User RPL solutions.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall