Ask Your Question

matthjes's profile - activity

2019-12-19 09:07:49 -0500 received badge  Notable Question (source)
2019-07-23 06:58:48 -0500 received badge  Popular Question (source)
2016-05-31 23:24:19 -0500 received badge  Popular Question (source)
2012-03-12 03:24:47 -0500 asked a question how to use certain maxima functions (e.g. ratsubst)?

I cannot figure out how to use maxima functions like ratsubst within sage.

For example: X = maxima('x^2') Now I'd like to substitute x with k. In Maxima, this is done via: X: x^2; ratsubst(k, x, X);

How do I call ratsubst from Sage? If I use X.ratsubst('k', 'x') then it simply prints out 'x'...

2012-03-12 03:21:14 -0500 received badge  Supporter (source)
2012-03-12 03:21:09 -0500 commented answer divide numerator and denominator by certain value

Thank, that did the trick!

2012-03-11 23:55:24 -0500 asked a question divide numerator and denominator by certain value


is it somehow possible to divide the numerator and denominator of a fraction by the same value? For example, (ab + c)/(bd + a + c) gets (a + c/b)/(d + a/b + c/b) if I divide it by b.