#4498: Implement a symbolic version of the arg function
------------------------------------+---------------------------------------
Reporter: TimothyClemans | Owner: somebody
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-wishlist
Component: symbolics | Keywords: beginner, sd35.5
Work_issues: random tests, Maxima | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Karen T. Kohl
Merged: | Dependencies:
------------------------------------+---------------------------------------
Comment(by kcrisman):
Do this to check the fix works.
{{{
sage: maxima(arg(x))
atan2(0,x)
sage: maxima(arg(2+i))
atan(1/2)
sage: maxima(arg(sqrt(2)+i))
atan(1/sqrt(2))
sage: arg(2+i)
arctan(1/2)
sage: arg(sqrt(2)+i)
arg(sqrt(2) + I)
}}}
It also seems to help with the sqrt(2) issue, in a manner of speaking.
One could tell someone to do
{{{
sage: arg(sqrt(2)+i).simplify()
arctan(1/2*sqrt(2))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4498#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.