In mathematica, there is the function "together" which combines fractions 
by giving them a common denominator and then cancels out the factors. It is 
shown here:
https://reference.wolfram.com/language/ref/Together.html

In Sage, I would like to do something similar. I just want to do 
A,B = var("A,B")
A/3 + B/2

I want the output to be (2A + 3B)/6, but instead it's just outputing what I 
input. Does Sage have any function that works like "together" does in 
mathematica? Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to