Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Solve using Matlab! Problem 2 [50 points]: 1-D Bicycler - with air drag and with motion along an inclined plane. Consider the motion of a
Solve using Matlab!
Problem 2 [50 points]: 1-D Bicycler - with air drag and with motion along an inclined plane. Consider the motion of a bicycler (as was done in Section 2.1 of text) putting out constant power P and initially riding along a horizontal plane. Let Xo = 0) and vo + Orepresent the initial position and velocity of the cyclist (taken to be at timet = 0). Let there also be a drag force F1 = -B2v2 present during the course of motion. Imagine that a position x = Xd the plane horizontal ground becomes a hill (incline plane ) with angle A with respect to the horizontal. Write a MATLAB function to calculate total (linear) distance d and the speed of the cyclist v, from t = 0) till t = Tmax using MATLAB. Use the following function header: function (d,v,t] = hw4problem2(P,v0, theta, B2,m, xd, Tmax, deltat) Problem 2 [50 points]: 1-D Bicycler - with air drag and with motion along an inclined plane. Consider the motion of a bicycler (as was done in Section 2.1 of text) putting out constant power P and initially riding along a horizontal plane. Let Xo = 0) and vo + Orepresent the initial position and velocity of the cyclist (taken to be at timet = 0). Let there also be a drag force F1 = -B2v2 present during the course of motion. Imagine that a position x = Xd the plane horizontal ground becomes a hill (incline plane ) with angle A with respect to the horizontal. Write a MATLAB function to calculate total (linear) distance d and the speed of the cyclist v, from t = 0) till t = Tmax using MATLAB. Use the following function header: function (d,v,t] = hw4problem2(P,v0, theta, B2,m, xd, Tmax, deltat)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started