Re: Help needed with csolve function on the 92


[Prev][Next][Index][Thread]

Re: Help needed with csolve function on the 92



Alexis wrote:
>
> Hello !
>
> Yesterday I had to solve the following equation :
> (-3+i)x²+(5i-1)x+2=0
> I tried it with the csolve fucntion and all I got was an approximation. I
> thus tried to use the well known quadratic formula within a function
> (-b+/-sqr(b²-4ac)/2a) and I got the exact answer. How is that possible ?
> Doesn't the 92 use this formula to solve that kind of equation ?
> Anyway, I'd like to write a function that would extract the a,b and c from
> a quadratic equation and display the solutions as a list but I can't figure
> how to extract the coefs. Has anyone an idea ?
>
> TIA
>
> Alexis
I tried the same equation on mine and I get an answer of "false".  I
don't know what's going on but I'd like an explanation too.  It seems
that the solve command can't handle imaginary i.
        Replace imaginary i with variable i and I see that csolve does use the
quadratic formula to solve the equation.  Any hotshot out there know
what's going on?


References: