#2482 polarform not fully recursive

open
nobody
None
5
2012-11-18
2012-10-22
No

The function polarform not fully recursive:

(%i1) e : sqrt(x^2-1)/(sqrt(x-1)*sqrt(x+1));
(%o1) sqrt(x^2-1)/(sqrt(x-1)*sqrt(x+1))

(%i2) e : polarform(e);
(%o2) (%e^(%i*(atan2(0,x^2-1)/2-atan2(0,x+1)/2-atan2(0,x-1)/2))*sqrt(abs(x^2-1)))/(sqrt(abs(x-1))*sqrt(abs(x+1)))

(%i3) e : rootscontract(e);
(%o3) sqrt(sqrt(x^4-2*x^2+1)/(sqrt(x^2-2*x+1)*sqrt(x^2+2*x+1)))*%e^(%i*(atan2(0,x^2-1)/2-atan2(0,x+1)/2-atan2(0,x-1)/2))

(%i4) e : rootscontract(e);
(%o4) %e^(%i*(atan2(0,x^2-1)/2-atan2(0,x+1)/2-atan2(0,x-1)/2))

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks