Talk:Maxima

Square root
This old text is removed from book because it should be checked :

"Square root of complex number: $$csqrt(x+y*i)= sqrt((r+x)/2) + i*y/sqrt(2*(r+x))$$

gives principal value of square root:  -Pi 0     then (re:sqrt(t/2), im:imagpart(z)/sqrt(2*t))    else  (im:abs(z), re:0),   w:re+im*%i,   return(w) )$ "

" I am not sure I understand its purpose. How is it preferable to rectform(sqrt(z))?

Also, it produces weird (presumably incorrect) results in many cases:

csqrt(a) => re+%i*im

csqrt(1+a*%i) => %i*abs(%i*a+1)       !!!

" (Stavros )

--Adam majewski (discuss • contribs) 19:21, 31 October 2011 (UTC)