Post Reply 
INPUT() and complex numbers?
01-14-2015, 10:27 PM (This post was last modified: 01-14-2015 10:39 PM by Snorre.)
Post: #5
RE: INPUT() and complex numbers?
Hello DrD,

in PPL implicit multiplication is not valid syntax, so anything like 0i or 0i won't compile. Something like (a,b*i) is not forbidden, but actually means a+b*i*i = a-b (a real).

I've tried on my device:
Code:
BEGIN
  LOCAL a:=1+2*i,  // lower case letter i ([Alpha]+[Shift]+[TAN])
        b:=3+4*i,  // imaginary unit i ([Shift]+[2])
        c:=(5,6),
        d:=7+8*√-1;
  INPUT({a,b,c,d});
  {EVAL(a),EVAL(b),EVAL(c),EVAL(d)};
END;
and didn't observe any problems, regardless of current complex format setting.
The CAS setting "Complex" is not related to PPL.

Please doublecheck there aren't any typos in your program. If you still cannot assign complex numbers then there's something very strange happening on your device. (Maybe a reset is required?)
What is your software version (mine is 6975), your "Digit Grouping" setting (mine is "123456.789")?

Greetings
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
INPUT() and complex numbers? - DrD - 01-14-2015, 01:47 PM
RE: INPUT() and complex numbers? - DrD - 01-14-2015, 04:44 PM
RE: INPUT() and complex numbers? - Snorre - 01-14-2015, 08:21 PM
RE: INPUT() and complex numbers? - DrD - 01-14-2015, 09:49 PM
RE: INPUT() and complex numbers? - Snorre - 01-14-2015 10:27 PM
RE: INPUT() and complex numbers? - DrD - 01-14-2015, 11:05 PM



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