Post Reply 
Rectangular to Polar Coordinate Conversion
08-28-2017, 04:40 PM
Post: #2
RE: Rectangular to Polar Coordinate Conversion
With HP Prime Free User Functions are available. Granddaughter has HP Prime calculator but other students wanting to use HP Prime in her AP physics will need to use the HP Prime Free app on their iPhone, Android phone, or iPad, Android, or Window's tablet

Going to use direct entry plus defined functions to solve math and physic vector problems.

As Tim Wessman posted elsewhere we can use direct input complex rectangular and polar forms from HOME view.

From HOME view we will use complex rectangle <num>+<num><i> and complex polar <num. <angle><num> The angle symbol is on the shift multiple key. We will use these two of the four methods TW showed for direct entry. Use the <angle> key to toggle history results between rectangular and polar form.

Used modified Michael Post for CAS and HOME view. Changed his names to RtoP and PtoR, Added RtoP_angle so his method displayed <angle> symbol. This caused the modified RtoP_angle to loose simplifications of his original RtoP. Needed the CAS.exact for <angle> modification to work.

Name: RtoP_angle
Function: CAS.exact(ABS(X+Y*i))+"∡"+ARG(X+Y*i)

Added these modifications to fix RtoP_angle problems.

Name: R_to_P
Function: CAS.exact(CAS.collect(ABS(X+Y*i)))+"∡"+CAS.collect(ARG(X+Y*i))

[Image: convert_r_p.png]

Name: P_to_R
Function: CAS.exact(X*COS(Y))+CAS.exact(X*SIN(Y))*i

[Image: convert_p_r.png]

Use your Define blue key with system copy and paste to set your User Functions to these values. Used the upper right hand icon to toggle between radian and degrees. <arrow> key not useful for toggling defined functions results.

Larry Schroeder
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Rectangular to Polar Coordinate Conversion - lschroeder1947 - 08-28-2017 04:40 PM



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