Recent content by koushan

  1. K

    Fortran How to fix the Euler method error?

    The replace statement is a part of Euler method that substitute an old value to a new one.
  2. K

    Fortran How to fix the Euler method error?

    Simple Harmonic Motion (SHM) is a sinusoidal motion in time and demonstrates a single resonant frequency. In this equation position is x=A Cos(wt) which A is an amplitude and w is a frequency. Similarly, we can derive velocity and acceleration by differentiating from x (v=dx/dt & a=dv/dt). I put...
  3. K

    Fortran How to fix the Euler method error?

    Hi everybody, I am programming a new code for a problem. The problem is numerically solving the Simple Harmonic Motion using the Euler method. This approach is just an approximate solution and not a exact solution, however when I run the code successfully and plot my data, it comes up as an...
  4. K

    Fortran Fortran program for oscillator using Euler method

    I am trying to run a program with fortran. The program is about solving the Oscillator using Euler Method. I am trying to run this code and applying array arguments (as I want to extend it to 3 dimensions afterwards). When I try to compile, it comes up with an error "Unclassifiable statement at...
Back
Top