Question: How would i go about solving this with the preset funcions being % define constants m 1 = 2 ; % kg m 2 =
How would i go about solving this
with the preset funcions being
define constants
m; kg
m;kg
k; Nm
k;
c;
c;
set initial conditions
xold ;; m
vold ;; ms
xsavexsavetimesave springmassmmkkccxold,vold;Simulate the response of a stacked spring mass dampener system using Euler's method.
See slides CourseWorkCOMPCWpptx for equations of motion.
DO NOT!!! change dt or maxsteps!
Function
function xsavexsavetimesave springmass vold
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
