On 17 říj, 23:06, Laurent <[email protected]> wrote:

> My aim is to do
> solve(g(x)=0.5)
> for example.
>
> Any ideas ?

I have no idea how to solve your question, but even if you solve it,
the command solve will not work in this kind of problem. You should
use some command which solves numerically. Something like
this example: g(x)==5, where g=integral(exp(t)) and t from 0 to x

sage: find_root(lambda x:5-numerical_integral(exp(t),0,x)[0],1,2)
1.791759469228055

and we check it:
sage: numerical_integral(exp(t),0,_)[0]
5.0

Robert

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to