Answer to Question #211810 in MatLAB for Abu Huraira

Question #211810

The curvilinear motion of a particle is defined by the following parametric equations

𝑥 = 52𝑡 − 9𝑡

2

, 𝑦 = 125 − 5𝑡

3

The velocity of a particle is defined by 𝑣 = √𝑣𝑥

2 + 𝑣𝑦

2. For time interval [0 6] make a first

plot that shows the position of the particle ( y vs x) and a second plot ( on the same figure 

window) of the velocity of the particle as a function of time. In addition, using an asterisk 

marker show the position of the particle ( in first plot ) at which its speed is maximum. For time 

use a vector with spacing of 0.1s.



1
Expert's answer
2021-06-29T06:14:52-0400


close all,
clear all,
clc,


syms t
x = 52*t - 9*t^2;
y = 125 - 5*t^3;
Vx = diff(x);
Vy = diff(y);
v = sqrt(Vx^2 + Vy^2);


t = 0:0.1:6;
X = subs(x,t);
Y = subs(y,t);
scrsz = get(0,'ScreenSize');
Dim=0;
figure('Position',[scrsz(1)+Dim, scrsz(2)+Dim,scrsz(3)-20,scrsz(4)-100]);
subplot(2,1,1);
plot(X,Y,'o'); hold on
plot(X,Y,'-');
grid on,
xlabel('--- x --->');
ylabel('--- y --->');
title('Position Plot: X-Y','FontSize',20);
hold on,
V = subs(v,t);
subplot(2,1,2);
plot(t,V);
grid on,
xlabel('--- t --->');
ylabel('--- Velocity --->');
title('Velocity Plot','FontSize',20);

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Vikas
29.06.21, 19:14

The answer provided here is really very helpful and accurate to the requirement of the assignment..

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS