- #1
- 82
- 1
I just want to know if someone has the fortran code for the numerical solution of the pendulum with a spring. And if it is so, can it write it here?
Have you tried to do this on your own already? https://www.physicsforums.com/showthread.php?t=94379" Show what you've done so far so we can help you.I just want to know if someone has the fortran code for the numerical solution of the pendulum with a spring. And if it is so, can it write it here?
The theory is on the pages 42-43 of the book.pdf file. I made a mistake with the name of the code, the method it isn't Runge-Kutta it is Euler's Method but for a second order differential equation.Could you please explain a bit more about the problem and your code? When you say pendulum-spring system, do you mean a rigid pendulum with a mass on the end is hanging from a spring? Can you show us the equations of motion you're using? And what method are you trying to use, 2nd-order Runge-Kutta?