? ? ià Secure https://blackhard und edu obcwebdav pid-2093119-dt content rid 605
ID: 2088791 • Letter: #
Question
? ? ià Secure https://blackhard und edu obcwebdav pid-2093119-dt content rid 60521815 1/courses/UND01-1840 FNGR202 06049 06052 06071/CAF%2002.pdf ENGR 202 Dynamics Zahui AE 02 Learning Objective: Intro to symbolic integration and derivation Name: Submit an m.file on Blackboard in form of "Last name First name CAE02", example: Zahui Marcellin_CAE02.m Question: write a MATLAB code that solves example 12.2 page 11. Use the velocity equation ?- +0.81 to calculate the velocity, the position, and acceleration of the projectile at time t4s. When the program ran it must display the velocity v, position s, and acceleration a. Helper: Example 12.1 page 10: clear all 602 Data syms t T0-0 1-3: S0-0: % Position s-int (, TO,T1) % Acceleration andiff (v,t) a=eval(a) ; Display results End :50 PM 9/2018Explanation / Answer
MATLAB SCRIPT
clc
clear all
syms t
v=(1/60^2+0.8*t)^(-1/2);
p=int(v,t); %Integration for position
Position=double(subs(p,t,4))
Velocity = double(subs(v,t,4))
a=diff(v,t,1); %diffrentiation for acceleration
Accleration= double(subs(a,t,4))
RESULTS
Position =
4.4723
Velocity =
0.5590
Accleration =
-0.0699
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.