Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can further simplify as follows:

sage: abs(sqrt(3) + I).full_simplify()
2

Or use the norm function:

sage: sqrt(norm(sqrt(3) + I))
2