Question: Create a new code called bungee jump res that solves Equations ( 1 ) and ( 2 ) for an input vector p = {

Create a new code called bungee jump res that solves Equations (1) and (2) for an
input vector p ={m, Cd, k}, and returns a vector of residuals, called res, between the
observed, bx(t), and simulated, x(t) positions of the jumper, thus res(t)= bx(t) x(t, p).
The function should equate to something like
[ res ]= bungee jump res(p)
where res signifies the n \times 1 residual vector. Attach a print-out of your code to this
assignment. Use the od45 command as well.
Equation 1= dx/dt = v x(0)=0
Equation 2= dv
dt =
g Cd
m sign(v)v2 if x < L
g Cd
m sign(v)v2 k
m(x L)\lambda
mv if x >= L,
v(0)=0(2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!