Ask Your Question

matthjes's profile - activity

2025-01-22 03:45:11 +0100 received badge  Famous Question (source)
2020-12-15 19:54:13 +0100 received badge  Notable Question (source)
2019-12-19 16:07:49 +0100 received badge  Notable Question (source)
2019-07-23 13:58:48 +0100 received badge  Popular Question (source)
2016-06-01 06:24:19 +0100 received badge  Popular Question (source)
2012-03-12 09:24:47 +0100 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 09:21:14 +0100 received badge  Supporter (source)
2012-03-12 09:21:09 +0100 commented answer divide numerator and denominator by certain value

Thank, that did the trick!

2012-03-12 05:55:24 +0100 asked a question divide numerator and denominator by certain value

Hi,

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.