- #1
Phrak
- 4,267
- 6
I can't come up with the code to solve for a and b in terms of x and y.
Code:
x + I y = Sqrt[a + I b]
Code:
In[84]:= Clear["Global`*"]
Solve[x + I y == Sqrt[a + I b], {a, b}]
During evaluation of In[84]:= Solve::svars:
Equations may not give solutions for all "solve" variables. >>
Out[85]= {{a -> -I b + x^2 + 2 I x y - y^2}}