Question: write a main script that calls two matlab functions in order to calculate velocity of bungee jumper CP 2: Velocity of Bungee Jumper Write a
CP 2: Velocity of Bungee Jumper Write a (main) script that calls two MATLAB functions in order to calculate the velocity of bungee jumper as in the CP1 For the first function, use the exact solution by analytical method Cd For the second function, use the approximate solution by numerical (Euler's) method g = 9.81 m/s2; m-68.1 kg; C,-0.25 kg/m time duration [0 30] time step 2; initial velocity: 0 m/s CP 2: Velocity of Bungee Jumper Both functions are passed g, m, Cd, time step, and time duration. . Both functions return velocity and time points to the calculated velocity .Plot the velocity with title, labels, and legend, as in the figure below. velocity of bungeer jumper . Submit 3 MATLAB m-files; - main script file cp2) - function file using analytic method (cp2_exact) - function file using numerical method cp2_approx)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
