Mathematica Simple question in Mathematica: find value of function

AI Thread Summary
The discussion revolves around finding the value of x for a function F[x] that equals a constant, using numerical methods with NDSolve and differential equations. The user initially attempted to use NMinimize to solve the problem but faced difficulties. Ultimately, they discovered that FindRoot is the appropriate method for their needs, which they confirmed by referencing a related thread. The conversation highlights the challenges of numerical solutions in differential equations and the importance of selecting the right computational tools.
Sosi
Messages
13
Reaction score
1
Hi guys!

I'm trying to the value of x when a function F[x] has a certain expression. I'm computing the value of F[x] using NDSolve and a set of differential equations - all numerically. Yet, I can't find an easy and systematic way to find the value of x when F[x]=constant.

I tried using NMinimize:
Code:
NMinimize[{Evaluate[CONSTANT- 
    F[x] /. systemofequations, x]

Yet, I can't seem to find a good way to compute the value of x.. :S

Do you guys have any suggestions on how I could try to solve this issue?
Thanks so much
 
Physics news on Phys.org

Similar threads

Replies
1
Views
2K
Replies
0
Views
501
Replies
4
Views
3K
Replies
4
Views
2K
Replies
4
Views
1K
Replies
13
Views
2K
Back
Top