Mathematica Using interpolating functions in Mathematica

AI Thread Summary
To find the value of rho for which the interpolating function z(rho) equals a specific value, such as 1, in Mathematica, the recommended approach is to use the FindRoot function. This function allows for numerical solutions to equations. The general method involves setting up the equation z(rho) - 1 = 0 and then applying FindRoot with an initial guess for rho. It's important to ensure that the initial guess is close to the expected solution to improve the chances of convergence. Additionally, users may need to check the behavior of the interpolating function to select an appropriate starting point for the root-finding process.
fuzzyfunnel
Messages
1
Reaction score
0
I have an interpolating function in mathematica and just want to find when it takes a certain value, seems simple, but I can't do it.

i.e. I solved an equation numerically for z(rho) and got interpolating function x for z.

Now I want to know for which value of rho, z(rho)=1 for example.

Anyone know how?
 
Physics news on Phys.org

Similar threads

Back
Top