Post Reply 
Program for converting degrees to radians and vise versa (HP Prime)
10-13-2022, 10:15 PM
Post: #8
RE: Program for converting degrees to radians and vise versa (HP Prime)
(04-07-2022 12:36 PM)roadrunner Wrote:  
(04-05-2022 04:42 PM)IsaiahG0701 Wrote:  Would I be able to have this simplified into 2pi/9

Not with the programs above, but this:

Code:
EXPORT radexact(D)
BEGIN
 CAS(EVAL("exact("+(D/π)+")"))*CAS(π);
END;

program does do what you want.

Hi,

I know this is late to the game... but I tried the above radexact program and it gives a strange result. I entered 45 degrees and it returned 38,646,433/2,698,030*pi when I would have expected pi/4. Is that an issue with Prime or the results that I can expect, which are not correct.

Thanks to anyone still "listening" to this thread.

Bob
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Program for converting degrees to radians and vise versa (HP Prime) - forexbob - 10-13-2022 10:15 PM



User(s) browsing this thread: 2 Guest(s)