Answered step by step
Verified Expert Solution
Question
1 Approved Answer
% We start by declaring our variable. syms t % Input position as a function of time and compute velocity as a function of time.
We start by declaring our variable.
syms
Input position as a function of time and compute velocity as a function of time.
;
;
What equation do you need MATLAB to solve to find the value of max?
eqn;
What are you solving that equation to find?
TimeVisZero double
Finally, how do you use that solution to find max?
Ymax double
What equation do you need to solve to find the time when the rock returns to its starting point?
eqn ;
Solve that equation.
TimeYatStart double
What equation do we need to solve to find when
eqn;
Solve that equation.
TimeYisZero double
What is the velocity when
VwhenYisZero double
You need to plot and acceleration vs time, so you need to compute
;
Now to plot the three functions in that time interval, ie
fplot
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