Recent content by user123897

  1. 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!
  2. user123897

    Java Numerical integration of an harmonic oscillator using java

    average acceleration. note that the a in the right side is the previous acceleration.
  3. user123897

    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...
Back
Top