Post Reply 
Program for converting degrees to radians and vise versa (HP Prime)
04-04-2022, 05:33 AM
Post: #2
RE: Program for converting degrees to radians and vise versa (HP Prime)
(04-03-2022 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:

EXPORT D_R(d)
// Valeur en °
BEGIN
 UVAL(CONVERT(d*1_deg,0_rad));
END;
EXPORT R_D(r)
// Valeur en radians
BEGIN
 UVAL(CONVERT(r*1_rad,0_deg));
END;

Sorry for my english
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) - Tyann - 04-04-2022 05:33 AM



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