Devil-may-care that I am, suppose that I wanted to 'simplify' the following expression, utterly ignoring the fact that it's very naughty to raise various kinds of numbers to arbitrary powers or to divide by zero.
$$ \frac{0.125567841}{d^{2.25}} = \frac{2.513274d+0.10053+2.11\pi}{d+0.04}$$
This is to say, I would like to:
- substitute $$x^4$$ for $$d$$,
- 'cross-multiply' the two sides of the equation, and
- replace the floating point, 2.25, with 9/4.
I want to pretend I'm back in school. Is there software that will do this for me?
EDIT: Where I wrote the 4th root of x
I should have had the 4th power of x
. My apologies for so much inconvenience!
assume
. $\endgroup$ – Christian Clason Oct 25 '17 at 19:09real=True
in the second line of @nicoguaro's answer, which does the same at the time of definition. There are more properties likepositive
,rational
,nonzero
, orinteger
; see docs.sympy.org/latest/modules/… $\endgroup$ – Christian Clason Oct 25 '17 at 19:30