Post Reply 
(Feature Request) - Convert to polar (phasor) notation in CAS
03-31-2020, 08:14 PM (This post was last modified: 03-31-2020 08:16 PM by Dands.)
Post: #12
RE: (Feature Request) - Convert to polar (phasor) notation in CAS
(03-31-2020 04:38 PM)victorvbc Wrote:  
(03-31-2020 04:22 PM)Dands Wrote:  This program works great, however, it's showing angles in radians. It might be because you're using the convert_polar function which is based in rad. Is there a way to modify it so that it uses the system's preferred angle output? I mostly need my angles in degrees.

Thank you!

The function is defined right under the main program. It uses the modulus and argument commands, which should function according to the system angle setting.

Are you sure you switched it right? The calc. should have a <° symbol on the top right corner. On mine it works as expected, outputs a float in degrees.

If you check the variable 'HAngle', it should return 1.

I think something weird is happening, probably because you used the simplify command in the output. I removed it and it persisted, so I'm clueless. Both of these should provide an angle of 45deg. I think it is not handling it properly when coefficients a and b are not integers.

Also, is it normal to see the terminal showing so many alerts?

[Image: 5.png]
[Image: 6.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (Feature Request) - Convert to polar (phasor) notation in CAS - Dands - 03-31-2020 08:14 PM



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