Post Reply 
Separate Imaginary and Real parts of an expression
07-03-2018, 07:50 AM
Post: #1
Separate Imaginary and Real parts of an expression
Hello

Is there a way to automatically let the prime separate the real part and the imaginary part of an expression?

Take a look at the attached picture


Thank you for your help.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
07-03-2018, 10:31 AM
Post: #2
RE: Separate Imaginary and Real parts of an expression
evalc
Find all posts by this user
Quote this message in a reply
07-03-2018, 10:50 AM
Post: #3
RE: Separate Imaginary and Real parts of an expression
(07-03-2018 10:31 AM)parisse Wrote:  evalc

Thank you very much for your quick response.
According to the help, it looks like this is exactly what i have searched for.

Unfortunatley the example from the help gives me a different answert than the one which is shown in the help.

Does anybody know why im getting IM and RE in the answer?

Thanks.

Attached are some pictures


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
07-03-2018, 11:05 AM
Post: #4
RE: Separate Imaginary and Real parts of an expression
(07-03-2018 10:50 AM)blevita Wrote:  Does anybody know why im getting IM and RE in the answer?

You may have "Complex" checked in the CAS settings, if so x, y and z are supposed to be complex variables and you get IM and RE in the answer. Uncheck "Complex" and you should get the same result as the one shown in the help.
Find all posts by this user
Quote this message in a reply
07-03-2018, 11:06 AM
Post: #5
RE: Separate Imaginary and Real parts of an expression
(07-03-2018 11:05 AM)Didier Lachieze Wrote:  
(07-03-2018 10:50 AM)blevita Wrote:  Does anybody know why im getting IM and RE in the answer?

You may have "Complex" checked in the CAS settings, if so x, y and z are supposed to be complex variables and you get IM and RE in the answer. Uncheck "Complex" and you should get the same result as the one shown in the help.

Woow!!! Great Smile
You made my CAS great again Smile


Thanks for your support!
Find all posts by this user
Quote this message in a reply
07-03-2018, 03:25 PM
Post: #6
RE: Separate Imaginary and Real parts of an expression
Yup, that "complex" flag needs to go away and probably will sometime soon.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 




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