| 1 | initial version |
Running :
var("a, b", domain="real")
z=1/(a+I*b)
(z.real()+I*z.imag()).factor()
prints :
(a - I*b)/(a^2 + b^2)
HTH,
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.