Question: Required Function Develop a function called: function x = Vibration Position (x0, m, k, c, f, dt, type) where you would approximate the position

Required Function Develop a function called: function x = Vibration Position (x0, m, k, c, f, dt, type) where you would approximate the position of a mass-spring-damper system from the second order partial differential equation for an individual time-step. The input values for the functions are: x0 m, k, c f dt type - Iteration (k) [Position, Velocity] - Model Parameters (mass, spring constant, damping constant) - Forcing Function - Timestep - Type of differentiation (Forward Euler or Runge Kutta) - Iteration (k+1) [Position, Velocity]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
