complex numbers in normalized polar form

Let it all hang out

complex numbers in normalized polar form

PostPosted by drab » Mon Jan 16, 2017 11:49 am

We can already enter complex numbers in polar form 2 ways, with the angle in either radians or degrees.

It would sometimes be nice if we also had a third way, with the angle normalized to unit 1.0.

1ad45 = 1 au0.125
1ad90 = 1 au0.25
1ad180 = 1au0.5
1ad360 = 1au1
drab
 
Posts: 295
Joined: Thu Oct 09, 2014 6:23 am

Re: complex numbers in normalized polar form

PostPosted by forummaster » Thu Jan 26, 2017 10:23 am

Thanks for this idea. The latest beta version has an implementation of it and I would appreciate it if you would test it for me and let me know whether it matches your idea.
forummaster
 
Posts: 554
Joined: Wed Jan 23, 2013 1:00 pm

Re: complex numbers in normalized polar form

PostPosted by drab » Fri Jan 27, 2017 12:19 pm

That sounds great.

But it doesn't work for me in the latest beta I could find.

1au0.25
SYNTAX ERROR

⎕sysver
0.5.0.196 Thu Jan 19 15:02:20 2017 Win/64
drab
 
Posts: 295
Joined: Thu Oct 09, 2014 6:23 am

Re: complex numbers in normalized polar form

PostPosted by drab » Fri Jan 27, 2017 12:35 pm

I just realized there's another nifty alternative already there using rational notation for the angle ...

1ad45
0.7071067812J0.7071067812

1ad180r4
0.7071067812J0.7071067812
drab
 
Posts: 295
Joined: Thu Oct 09, 2014 6:23 am

Re: complex numbers in normalized polar form

PostPosted by forummaster » Tue Feb 21, 2017 7:45 pm

drab wrote:That sounds great.

But it doesn't work for me in the latest beta I could find.

1au0.25
SYNTAX ERROR

⎕sysver
0.5.0.196 Thu Jan 19 15:02:20 2017 Win/64

That feature was put in after that version was released. It works in the current alpha version.
forummaster
 
Posts: 554
Joined: Wed Jan 23, 2013 1:00 pm


Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron