ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 10 May 2012 10:49:09 -0500How to solve x=y^(1/3)http://ask.sagemath.org/question/8953/how-to-solve-xy13/This might be a trivial question. I am a Sage newbie. I have figured out so far how to get sage to solve equations like:
x==y^2 for y (answer - y=sqrt(x)
x==y^3 for y (answer - y=x^(1/3)
But i cant get sage to solve x==y^(1/3) for example....essentially where the power is not an integer....possible ?
ThanksThu, 10 May 2012 10:27:28 -0500http://ask.sagemath.org/question/8953/how-to-solve-xy13/Answer by calc314 for <p>This might be a trivial question. I am a Sage newbie. I have figured out so far how to get sage to solve equations like:</p>
<p>x==y^2 for y (answer - y=sqrt(x)
x==y^3 for y (answer - y=x^(1/3)</p>
<p>But i cant get sage to solve x==y^(1/3) for example....essentially where the power is not an integer....possible ?</p>
<p>Thanks</p>
http://ask.sagemath.org/question/8953/how-to-solve-xy13/?answer=13562#post-id-13562You may need to give it some assumptions. For example, the following will solve your equation.
var('x,y')
assume(x>0)
solve(x==y^(1/3),y)Thu, 10 May 2012 10:49:09 -0500http://ask.sagemath.org/question/8953/how-to-solve-xy13/?answer=13562#post-id-13562