Troubleshooting NDSolve Errors: Non-Numerical Values in ODE Integration

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
JohnSimpson
Messages
89
Reaction score
0
I'm having a problem with NDSolve. See attached picture. I have a package generating a set of ODE's, which I display, and then the next line is the NDSolve integration. I get an "Encountered non-numerical value for a derivative at t==0" error, and I can't spot the mistake. The one thing that looks suspicious to me is the terms in the Equations of Motion that look like "0.05.2". It looks like it should be "0.05*2", but I don't understand why it doesn't just evaluate it.

Best Wishes
-John
 

Attachments

  • Mathematica.jpg
    Mathematica.jpg
    44.7 KB · Views: 478
Physics news on Phys.org
Please Ignore. I found my problem!