ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 27 Feb 2013 20:16:53 +0100Solve an expression with fractional exponentshttps://ask.sagemath.org/question/9863/solve-an-expression-with-fractional-exponents/I have an expression which, effectively, looks like this:
expr = x == x^(1/3)*y
except y is a really large number of constants. If I wanted to solve this for x, I should get x=y^(3/2). But instead:
solve(expr,x)
yields
[x == x^(1/3)*y]
In the example I gave, it's obviously not a big deal. But for my actual code, y is a *very* large number of constant factors, and this means copying those factors out by hand, and then re-inputting them in the correct form ( x = (factors)^(3/2) ) which is error prone and time consuming.
I've tried using 0.333 instead of (1/3) in the exponent, that doesn't make a difference.
Any help here would be appreciated. Thank you ahead of time!adamhgWed, 27 Feb 2013 20:16:53 +0100https://ask.sagemath.org/question/9863/