I need this Matlab please I need this Matlab please I need this Matlab please I
ID: 2266091 • Letter: I
Question
I need this Matlab please
I need this Matlab please
I need this Matlab please
I need this Matlab please
I need this Matlab please Question 2: a.) Use MATLAB to show that the sum of the infinite series 12.5'(-12)' (na 1, 2, ,m) converges to Do it by computing the surm for m= 10 .ii.) m 1,000 iii.) m= 10,000 For each part create a vector n, and then use element-by-element calculations to compute the series. b.) If a ball is dropped down from a helicopter, its velocity as a function of time v(t) can be modeled by the equation: where g 9.81 m/s2 is the gravitation of the Earth, cd-05 is the drag coefficient, p 12kg/m3 is the density of air, m .624 is the mass of the ball, and A = ? is the projected area of the ball (r = 0.11 7m is the radius). Use MATLAB to determine the velocity of the ball for t = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10 s. Display your results in a table.
Explanation / Answer
Matlab Script:
m=10;
sum1 = 0;
for n=1:m
sum1 = sum1+((-1)^(n+1))/(n^2);
end
piapproximated1 = (12*sum1)^(1/2);
m=1000;
sum1 = 0;
for n=1:m
sum1 = sum1+((-1)^(n+1))/(n^2);
end
piapproximated2 = (12*sum1)^(1/2);
m=10000;
sum1 = 0;
for n=1:m
sum1 = sum1+((-1)^(n+1))/(n^2);
end
piapproximated3 = (12*sum1)^(1/2);
Part b:
Matlab Script:
g = 9.81;
Cd = 0.5;
p = 1.2;
m = 0.624;r = 0.117;
A = pi*(r^2);
t = 0:9;
v = sqrt((2*m*g)/(p*A*Cd))*(1-exp(-sqrt(p*g*Cd*A/(2*m))*t));
disp('Time Velocity');
disp('---- --------');
for i=1:10
fprintf('%d %d ',t(i),v(i));
end
output:
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.