Post Reply 
Converting Polar and Rectangular
05-05-2022, 05:05 AM
Post: #1
Converting Polar and Rectangular
I’m having trouble downloading a certain program for my hp prime. Every time I type in the programs below I get a syntax error. Is there anyone that has a link where I can download these programs rather than manually put them in?

P_to_R(r,a):=
BEGIN
return (r*COS(a)+r*SIN(a)*i);
END;

R_to_P(x,y):=
BEGIN
return (CAS(collect(ABS(x+y*i)))+"∡"+CAS(collect(ARG(x+y*i))));
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Converting Polar and Rectangular - IsaiahG0701 - 05-05-2022 05:05 AM



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