Post Reply 
Complex solve BUG FW 2016 04 14 (10077)
05-20-2016, 03:00 PM (This post was last modified: 05-20-2016 03:11 PM by Maro.)
Post: #13
RE: Complex solve BUG FW 2016 04 14 (10077)
Code:

EXPORT Test()
BEGIN
  LOCAL c1:=231.0e3, c2:=0.91+i*0.012, c3:=13.2+i*97.55, c4:=400.0e6, c5:=0.9;
  CAS.csolve("(c1/c2)-(c3/c2)*c4*(1-i*tan(acos(c5)))/(3*CONJ(x))-x=0",x);
END;

Dale, thanks a lot for your support. I tested with your code snippet and it is getting more and more strange, so what happens with your code on my machine:

a) it is not compiled and a syntax error appears as long as CAS.csolve("...",x); is used.
It only compiles with: CAS.csolve("...","x"); or with CAS.csolve("...,x");

b) it gives indeed the correct complex results on the emulator(!) (EDIT)

c) on the Prime hardware it still results in an empty list {}

Obviously my hardware behave different than others and I'm getting more and more confused.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Complex solve BUG FW 2016 04 14 (10077) - Maro - 05-20-2016 03:00 PM



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