This project is to be done entirely in MATLAB. Any and all calculations and work
ID: 3123389 • Letter: T
Question
This project is to be done entirely in MATLAB. Any and all calculations and work are to be done in MATLAB. All of the code, calculations and plots should be included with the work you turn in. Let's say that we know that: m= 10,000,000 c= 25,000 (eq. 1) mx (t) + cx (t) + kx (t) = F cos (omega t) k=1000 These values have be selected so that the units work out correctly. Remember that when you enter the differential equation for MATLAB, MATLAB uses y as a function of t (This equation has x as a function of t, so you'll need to change the x's to y's when you use MATLAB) Step 1: Write the differential equation that describes the motion of the bridge using the initial design parameters. Use a forcing function, f(t) = 25,000,000 Newtons = 25M Newtons, M is mega which is 10s. (Replace the Fcos(wt) with the f(t) above.) What are the roots of this differential equation? Step 2: Use MATLAB to solve the differential equation from step 1 for the displacement x. The initial conditions are x(0) = 0, and x'(0) = 0. (Remember that in MATLAB t (time) is the independent variable, and y is the dependent variable, so you'll need to use y for x). Step 3: Plot the displacement x as a function of time over a domain of 0 to 5 time constants (in seconds). Format the vertical axis so that none of the function is cut off.Explanation / Answer
x= [0:5];
plot(ySol,x)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.