Recent content by user123897
-
Java Numerical integration of an harmonic oscillator using java
Figured out the problem. I dt = 10, way too big considering the expected period time. Thanks for your help!- user123897
- Post #6
- Forum: Programming and Computer Science
-
Java Numerical integration of an harmonic oscillator using java
average acceleration. note that the a in the right side is the previous acceleration.- user123897
- Post #3
- Forum: Programming and Computer Science
-
Java Numerical integration of an harmonic oscillator using java
Hi, I am trying to analyze the an harmonic oscillator using kinematics. first i calculate the force applied by the spring (f = (-x)*k) then i calculate the acceleration (a = f/m) then speed (v= v0 + v0t + 0.5*a*t^2) and finally update x (x = x0+vt) this is a simplfied loop of my program...- user123897
- Thread
- Harmonic Harmonic oscillator Integration Java Numerical Numerical integration Oscillator
- Replies: 8
- Forum: Programming and Computer Science