I have the below output for a nonlinear differential equation.
I want to c-code the answer (in PIC-C). But I dont understand what the answer is mathematically. Can you help?
Thanks for this suggestion. In the output it gives me an interpolating function but i dont see what the function is?
What are the coefficients and degree etc?
Interpolating functions seem embedded inside mathematica so its not possible to see what the function is. Therefore i cannot code it in c environment.
Anyother suggestions?
Thanks for this suggestion. In the output it gives me an interpolating function but i dont see what the function is?
What are the coefficients and degree etc?
Interpolating functions seem embedded inside mathematica so its not possible to see what the function is. Therefore i cannot code it in c environment.
Anyother suggestions?
Numerical ODE solving is a whole topic on its own. It is covered in many books. Take a look e.g. at Numerical Recipes, which has a very gentle introduction, if I recall correctly.
Pick the control points from Mathematica’s InterpolationFunction (assign x to some values and evaluate them) and use the formulae presented in the videos above.