The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





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)