rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

polarform of zero returns atan2 #2609

Open rtoy opened 3 weeks ago

rtoy commented 3 weeks ago

Imported from SourceForge on 2024-07-06 16:12:43 Created by willisbl on 2012-07-20 19:50:33 Original: https://sourceforge.net/p/maxima/bugs/2450


(%i1) polarform(cos(x)^2 + sin(x)^2-1); (%o1) %e^(%i*atan2(0,sin(x)^2+cos(x)^2-1))*abs(sin(x)^2+cos(x)^2-1)

(%i2) trigsimp(%); atan2: atan2(0,0) is undefined.

rtoy commented 3 weeks ago

Imported from SourceForge on 2024-07-06 16:12:43 Created by rtoy on 2012-10-06 20:19:43 Original: https://sourceforge.net/p/maxima/bugs/2450/#776c


Are you expecting polarform to simplify its arg? Otherwise, I kind of think this is expected.