Recent content by koushan
-
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.- koushan
- Post #5
- Forum: Programming and Computer Science
-
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...- koushan
- Post #4
- Forum: Programming and Computer Science
-
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...- koushan
- Thread
- Euler Euler method Fortran Method
- Replies: 5
- Forum: Programming and Computer Science
-
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...- koushan
- Thread
- Euler Euler method Fortran Method Oscillator Program
- Replies: 3
- Forum: Programming and Computer Science