Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Microsoft Word - Document1 Microsoft Word - Document1

1 answer below »
Microsoft Word - Document1

































Microsoft Word - Document1
Answered 2 days After Aug 17, 2021

Solution

Kshitij answered on Aug 17 2021
117 Votes
solutionGrey/CompleteSolution.m
function [y] = CompleteSolution(K,M,qP,yE,t)
[r,d] = eig(inv(M)*K); % eqn 14
c = inv(r)*(-qP(:,1)); % eqn 24
qH = c(1)*r(:,1)*exp(d(1)*t) + c(2)*r(:,2)*exp(d(2)*t) ... eqn 15
+ c(3)*r(:,3)*exp(d(3)*t) + c(4)*r(:,4)*exp(d(4)*t);
y = yE+qH+qP; % eqn 12
end
solutionGrey/data.m
%% to save data as dat file
compact = [42 1050 3.8e4 1350 2e5 0.3 0.6];
midsize = [55 1400 4.4e4 1500 2.25e5 0.35 0.75];
truck = [83 2100 4.84e4 3500 2.5e5 0.438 0.863];
save vehicle.dat compact midsize -ascii
solutionGrey/ParticularSoulution.m
function [qP,s1,s2] = ParticularSoulution(K,M,f0,t,wR,simflag)
if simflag ==1
F = [f0;zeros(4,1)]; % eqn 20
Q1 = cat(2,-K,-wR*M);
Q2 = cat(2,wR*M,-K);
Q = cat(1,Q1,Q2); % eqn 20
s = inv(Q)*F; % eqn 21
s1 = s(1:4);
s2 = s(5:8);
qP = s1*sin(wR*t)+s2*cos(wR*t); % eqn 19
elseif simflag ==2
s1 = inv(K)*(-f0); % eqn 18
s2 = 0; % only trivial solution exists
qP = s1 + s2*t; % eqn 17
else
disp('invalid simflag')
end
end
solutionGrey/plots-20210817T154519Z-001/plots/Compact Bumpy road.jpg
solutionGrey/plots-20210817T154519Z-001/plots/Compact Single bump.jpg
solutionGrey/plots-20210817T154519Z-001/plots/Midsize Bumpy road.jpg
solutionGrey/plots-20210817T154519Z-001/plots/Midsize Single bump.jpg
solutionGrey/plots-20210817T154519Z-001/plots
oad.jpg
solutionGrey/plots-20210817T154519Z-001/plots/Truck Bumpy road.jpg
solutionGrey/plots-20210817T154519Z-001/plots/Truck Single...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here