10-25-2019, 07:30 PM
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.
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.