Simple question in Mathematica: find value of function

Click For Summary
SUMMARY

The discussion centers on finding the value of x for a function F[x] that equals a constant using Mathematica. The user initially attempted to use NMinimize with a set of differential equations but faced challenges in computing the desired value of x. The solution identified is the use of the FindRoot function, which effectively addresses the problem of solving for x in the context of numerical solutions derived from NDSolve.

PREREQUISITES
  • Familiarity with Mathematica programming language
  • Understanding of numerical methods, specifically NDSolve
  • Knowledge of optimization techniques in Mathematica, such as NMinimize
  • Experience with root-finding algorithms, particularly FindRoot
NEXT STEPS
  • Explore the FindRoot function in Mathematica for solving equations
  • Learn about NDSolve for solving differential equations numerically in Mathematica
  • Investigate optimization functions in Mathematica, including NMinimize
  • Study examples of numerical root-finding techniques in Mathematica documentation
USEFUL FOR

Mathematica users, mathematicians, and engineers who need to solve numerical equations and optimize functions within the Mathematica environment.

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 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K