Program for converting degrees to radians and vise versa (HP Prime)

04032022, 06:39 PM
Post: #1




Program for converting degrees to radians and vise versa (HP Prime)
I remember on the previous update I created a program that could convert degrees to radians and radians to degrees in maybe 1 or 2 keystrokes. Unfortunately, this program is no longer supported on my calculator. Rather than go through the units and do the tedious process of conversions. Is there a quicker and more effective method to do this. I remember the program being called D2R (Degrees to radians) and R2D (Radians to degrees).


04042022, 05:33 AM
Post: #2




RE: Program for converting degrees to radians and vise versa (HP Prime)
(04032022 06:39 PM)IsaiahG0701 Wrote: I remember on the previous update I created a program that could convert degrees to radians and radians to degrees in maybe 1 or 2 keystrokes. Unfortunately, this program is no longer supported on my calculator. Rather than go through the units and do the tedious process of conversions. Is there a quicker and more effective method to do this. I remember the program being called D2R (Degrees to radians) and R2D (Radians to degrees). Bonjour Voici ce que j'utilise, si ça peut vous aider. Hello Here's what I use, if it helps. Code:
Sorry for my english 

04042022, 05:42 AM
Post: #3




RE: Program for converting degrees to radians and vise versa (HP Prime)
Thank you so much! To start this would I go to the program tab?


04042022, 10:53 AM
Post: #4




RE: Program for converting degrees to radians and vise versa (HP Prime)
(04042022 05:42 AM)IsaiahG0701 Wrote: Thank you so much! To start this would I go to the program tab? Oui vous allez dans l'onglet programme et vous créez un nouveau programme puis vous entrez le code de ces 2 fonctions. Yes you go to the program tab and create a new program then you enter the code of these 2 functions. Sorry for my english 

04042022, 12:15 PM
(This post was last modified: 04042022 12:16 PM by Didier Lachieze.)
Post: #5




RE: Program for converting degrees to radians and vise versa (HP Prime)  
04052022, 04:42 PM
Post: #6




RE: Program for converting degrees to radians and vise versa (HP Prime)
Thank you so much! With these programs would I be able to simplify a decimal number into radian form? Like if I were to do 7.5*(4pi/135) and get .698. Would I be able to have this simplified into 2pi/9


04072022, 12:36 PM
Post: #7




RE: Program for converting degrees to radians and vise versa (HP Prime)  
10132022, 10:15 PM
Post: #8




RE: Program for converting degrees to radians and vise versa (HP Prime)
(04072022 12:36 PM)roadrunner Wrote:(04052022 04:42 PM)IsaiahG0701 Wrote: Would I be able to have this simplified into 2pi/9 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 

10232022, 08:26 PM
(This post was last modified: 10232022 08:27 PM by Ioncubekh.)
Post: #9




RE: Program for converting degrees to radians and vise versa (HP Prime)
Python math library has radians() & degrees() functions. Remember beforehand do
Code: from math import * HP Prime G1 Python via Android Termux... 

« Next Oldest  Next Newest »

User(s) browsing this thread: