Post Reply 
referencing complex numbers in the programming mode
10-25-2019, 07:30 PM
Post: #1
referencing complex numbers in the programming mode
I have been trying to start on a program that deals with complex numbers and find that the programming mode does not handle complex numbers in manner that might be considered intuitive. For example, the code:
ACV = (SpeedAC ,∡ HeadingAC);
msgbox("AC =" +ACV);

returns 0

While the code:
msgbox("AC =" +(SpeedAC ,∡ HeadingAC));

returns the complex number

why the difference?
how should it be done?
Does the program need to know that ACV is a complex number? I have tried using one of the built in complex number variables (Z0) and get the same result (0).

Also how do one type in the angle symbol in the connectivity kit? I got it in by typing it in the calculator first and then uploading the program to the kit.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
referencing complex numbers in the programming mode - gregreenwood - 10-25-2019 07:30 PM



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