The motion of a damped spring-mass system is described by the equation :
xdot = z
zdot = -(c*z + k*x)/m
where x = displacement from equilibrium position
t = time
m=10 kg (mass)
c = 40 Ns/m (damping coefficient)
k = 40 N/m (spring constant)
initial velocity = 0
initial displacement , x = 1m
transform the above equation into a system of two 1st order ordinary differential equations.
Write two fortran programs to solve the systems of two simultaneous 1st order differential equations. In one program use **Euler’s method. ** in the second program use the classical fourth-order Runge-Kutta method.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
fortran 90 or 95