1
$\begingroup$

I have a system of equations and its answers are complex, but I want real numbers. Is there any way to find the best real approximation to a complex number?

  • 6
    What exactly are these "equations" you have? Anyway, if the imaginary parts are huge enough, well...2011-04-25
  • 7
    "Best" in what sense?2011-04-25
  • 0
    Hi, Thanks for your answers ,My questions are: A^2=Alpha,B^2=Beta+2*a,C^2=Lambda Where Alpha=2.894812656849533, Beta=-2.159105950538185, Lambda=-0.003583679988243 I need A, B ,C to be best real numbers with a acceptable error to the true ones I will appreciate if you help me2011-04-27
  • 1
    Why do you need your results to be real? What are you really trying to do?2011-04-29
  • 0
    for those numbers, I get $A=1.7014148985035$, $B=1.1152236755327$. Only $C$ remains complex (actually, purely imaginary: $C=0.059863845418107\,i$).2011-04-29

2 Answers 2