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.Sun, 05 Mar 2017 10:50:10 -0600problem solving equation systemshttp://ask.sagemath.org/question/36786/problem-solving-equation-systems/ var('V1', 'V2')
solve([V1+V2==0.5,7.20 == 5.5 - log(V1/V2,10)], V1, V2)
SageMath do not solve this system but when with Ctrl+C the calculation end and show in terminal the solution.
If I use natural logarithm in the expression Sage solve this system without any problem.Thu, 02 Mar 2017 09:33:42 -0600http://ask.sagemath.org/question/36786/problem-solving-equation-systems/Comment by dan_fulea for <p>var('V1', 'V2')
solve([V1+V2==0.5,7.20 == 5.5 - log(V1/V2,10)], V1, V2)</p>
<p>SageMath do not solve this system but when with Ctrl+C the calculation end and show in terminal the solution.</p>
<p>If I use natural logarithm in the expression Sage solve this system without any problem.</p>
http://ask.sagemath.org/question/36786/problem-solving-equation-systems/?comment=36837#post-id-36837The ?solve gives me:
*Algebraically* solve an equation or system of equations (over the
complex numbers) for given variables.
But we do not have an algebraic system. For a numerical solution one can substitute V2 from the first in the second, plot and/or use (in my case pari/gp) solve.Sun, 05 Mar 2017 10:50:10 -0600http://ask.sagemath.org/question/36786/problem-solving-equation-systems/?comment=36837#post-id-36837Comment by tmonteil for <p>var('V1', 'V2')
solve([V1+V2==0.5,7.20 == 5.5 - log(V1/V2,10)], V1, V2)</p>
<p>SageMath do not solve this system but when with Ctrl+C the calculation end and show in terminal the solution.</p>
<p>If I use natural logarithm in the expression Sage solve this system without any problem.</p>
http://ask.sagemath.org/question/36786/problem-solving-equation-systems/?comment=36787#post-id-36787I can not reproduce your problem, on 7.6.beta5 i got:
sage: var('V1', 'V2') ; solve([V1+V2==0.5,7.20 == 5.5 - log(V1/V2,10)], V1, V2)
(V1, V2)
[[V1 == 1/2/(e^(1914029841632461/1125899906842624*log(10)) + 1), V2 == 1/2*e^(1914029841632461/1125899906842624*log(10))/(e^(1914029841632461/1125899906842624*log(10)) + 1)]]
Could you please give us some informations so that someone can try to reproduce your problem:
- which version of Sage did you use ?
- which OS ?
- did you install Sage from the binaries, and which ones ?
- did you compile Sage yourself ?
- which notebook did you use (Sage notebook or jupyter notebook) ?
- did you use the command line ?
- ... ?Thu, 02 Mar 2017 10:25:45 -0600http://ask.sagemath.org/question/36786/problem-solving-equation-systems/?comment=36787#post-id-36787