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.Fri, 17 Jul 2020 23:12:31 +0200equation does not simplify due to fractional exponenthttps://ask.sagemath.org/question/52543/equation-does-not-simplify-due-to-fractional-exponent/ The following equation does not seem to simplify due to the fact there is a fractional power in one of the variables im seeking to solve for. The code I have is:
k=var('k')
solve(k == 50*k^(3/5),k)
Out: [k == 50*k^(3/5)]
is there anyway to fix this?Fri, 17 Jul 2020 22:41:55 +0200https://ask.sagemath.org/question/52543/equation-does-not-simplify-due-to-fractional-exponent/Answer by Emmanuel Charpentier for <p>The following equation does not seem to simplify due to the fact there is a fractional power in one of the variables im seeking to solve for. The code I have is:</p>
<pre><code>k=var('k')
solve(k == 50*k^(3/5),k)
Out: [k == 50*k^(3/5)]
</code></pre>
<p>is there anyway to fix this?</p>
https://ask.sagemath.org/question/52543/equation-does-not-simplify-due-to-fractional-exponent/?answer=52546#post-id-52546As usual with those equation involving exponentials :
sage: solve(k == 50*k^(3/5),k, to_poly_solve=True)
[k == 0, k == 12500*sqrt(2)]
sage: solve(k == 50*k^(3/5),k, algorithm="sympy")
[k == 0, k == 12500*sqrt(2)]
sage: (k==50*k^(3/5)).log().log_expand().solve(k)
[k == 12500*sqrt(2)]
HTH,Fri, 17 Jul 2020 23:12:31 +0200https://ask.sagemath.org/question/52543/equation-does-not-simplify-due-to-fractional-exponent/?answer=52546#post-id-52546