Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ComplexExpand' topicStudent Support Forum > General > Archives > "ComplexExpand"

Next Comment >Help | Reply To Topic
Author Comment/Response
nabil
01/16/07 2:30pm

hi,
i do have an issue to which i could not find a solution so far and related to ComplexExpand.

For instance:
F[x_,y_]:=Module[{z},z=x^2+I*x*y;Return[z];]

ComplexExpand[F[x,y]] works fine since no argument results in x and y are real.
On the other hand, if i define y like:
y=Sqrt[a^2-b^2]

then the ComplexExpand does not work properly and y is then seen as a complex.
Is there some workaround?
thanks for your help, nabil


URL: ,

Subject (listing for 'ComplexExpand')
Author Date Posted
ComplexExpand nabil 01/16/07 2:30pm
Re: ComplexExpand yehuda ben-s... 01/17/07 01:56am
Re: ComplexExpand nabil 01/17/07 10:27am
Re: ComplexExpand yehuda ben-s... 01/21/07 00:55am
Re: ComplexExpand nabil 01/23/07 05:59am
Re: ComplexExpand yehuda ben-s... 01/24/07 00:54am
Next Comment >Help | Reply To Topic