Hello all, I am looking for the possibility how to simplify each term
in an expression separately.

Consider
A=x/((x^2/y^2 + 1)*y) + arctan(x/y)

I wish to get  x*y/(x^2+y^2)+atan(x/y)  , which can be produced in
Maxima by map(fullratsimp, A)


*  simplify(A) gives A - no simplification

*  A.simplify_full() gives one fraction: (x^2*arctan(x/y) + y^2*arctan
(x/y) + x*y)/(x^2 + y^2)

* perhaps map(lambda x: x.simplify_full(),A.operands()) -- this  gives
[x*y/(x^2 + y^2), arctan(x/y)]    -- but it is too complicated and
returns a list and not a sum

Which command in Sage simplifies my expression into  x*y/(x^2+y^2)+atan
(x/y) ??

Many thanks for all answers to many questions from me during the last
two or three weeks.

Robert







--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to