Question

In: Mechanical Engineering

Using MATLAB, plot the following curves for the crank angle range of 0-360: a. For an...

Using MATLAB, plot the following curves for the crank angle range of 0-360:

a. For an engine that has R=3.5 and L=110 mm, plot the piston speed Sp at engine speeds of 500 RPM, 2000 RPM, and 5000 RPM on the same plot.

b. For an engine that has L=110mm and running at an engine speed of 5000 RPM, plot the piston speed Sp at R = 3, 4, and 5 on the same plot.

c. For each of the cases above, determine the crank angle at which the piston speed is maximum.

Solutions

Expert Solution

Ans a)Matlab code to plot the different piston speeds

syms pistonSpeed(N,L,r,theta)
pistonSpeed(N,L,r,theta) = (r*((2*pi*N)/60))*(sin(theta)+(sin(2*theta)/(2*sqrt((L^2/r^2)-sin(theta^2)))
fplot(pistonSpeed(500,110,3.5,theta),[0 2*pi])
xlabel('Crank angle (rad)')
ylabel('pistonspeed(mm/s)')
hold on

fplot(pistonSpeed(2000,110,3.5,theta),[0 2*pi])

hold on

fplot(pistonSpeed(5000,110,3.5,theta),[0 2*pi])

hold off

Ans b)Matlab code to plot the piston speed at different crank radius

syms pistonSpeed(r,L,N,theta)
pistonSpeed(r,L,N,theta) = (r*((2*pi*N)/60))*(sin(theta)+(sin(2*theta)/(2*sqrt((L^2/r^2)-sin(theta^2)))
fplot(pistonSpeed(3,110,5000,theta),[0 2*pi])

hold on

fplot(pistonSpeed(4,110,5000,theta),[0 2*pi])

hold on

fplot(pistonSpeed(5,110,5000,theta),[0 2*pi])

hold off

Ans c)Matlab code to determine crank angle at which piston speed is max

syms pistonSpeed(r,L,N,theta)
pistonSpeed(r,L,N,theta) = (r*((2*pi*N)/60))*(sin(theta)+(sin(2*theta)/(2*sqrt((L^2/r^2)-sin(theta^2)))
fplot(max(pistonSpeed(3,110,5000,theta)),[0 2*pi])

Related Solutions

Plot all four curves over 0 < t < 4 together using MATLAB. Post code in...
Plot all four curves over 0 < t < 4 together using MATLAB. Post code in the response. C1 : x=−5+2e−tcos20t y=−5+2e−tsin20t z=4t C2 : x=−5+2e−tcos20t y=5+2e−tsin20t z=4t C3 : x=5+2e−tcos20t y=−5+2e−tsin20t z=4t C4 : x=5+2e−tcos20t y=5+2e−tsin20t z=4t
Plot the original data and the regression “line” ************USING Matlab************. "Submit plot" USING MATLAB! USING MATLAB!...
Plot the original data and the regression “line” ************USING Matlab************. "Submit plot" USING MATLAB! USING MATLAB! USING MATLAB! ONLY BY USING MATLAB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 14.9 The concentration of E. coli bacteria in a swimming area is monitored after a storm: t (hr)                     4           8         12        16    20 24 c (CFU/100 mL) 1600     1320   1000     890 650 560 The time is measured in hours following the end of the storm and the unit CFU is a .colony forming unit.. Use this data to estimate (a)...
What angle is needed to have the min torque? 0 90 180 270 360 2. Using...
What angle is needed to have the min torque? 0 90 180 270 360 2. Using the right-hand rule for a wire, if the current is moving to the left, the magnetic field will be Coming out of the computer screen Going into the computer screen Counterclockwise Clockwise 3. The Earth has a magnetic field because… (mark all that apply) The core is spinning It has ferromagnetic materials The charge is moving There is a lot of heat in it...
MATLAB question The range of a projectile launched at velocity V and angle q is R=2...
MATLAB question The range of a projectile launched at velocity V and angle q is R=2 V2 sin(q) cos(q) Find the range if V=20m/s and q=30 degrees (5 pts) If the uncertainty in the launch angle q = 30 +/- 2 degrees, what is the uncertainty of the range What should the accuracy of the launch angle have be to keep the uncertainty of the range to within 5%.
Find frequency response of the system given by following equation using MATLAB. Clearly plot both amplitude...
Find frequency response of the system given by following equation using MATLAB. Clearly plot both amplitude and phase response waveforms with labels assigned. y[n+1]-0.5 y[n]=x[n] Matlab code would be greatly appreciated
Using matlab a) Find the transfer function of a fourth order Butterworth filter and plot the...
Using matlab a) Find the transfer function of a fourth order Butterworth filter and plot the magnitude response. b) Find the poles.
Please use MATLAB. Write a program to plot the piecewise function using IF statements and a...
Please use MATLAB. Write a program to plot the piecewise function using IF statements and a FOR loop in MatLab. Use x as the input vector. Plot from -20<=x<=20, increment of 1.   y =   4 x + 10 ,             ? ≥ 9,                   y =      5? + 5,                   0 ≤ ? < 9,                    y =     ?2 + 6? + 8, ? < 0 Plot each segment of the fn with different shaped points and a different color, for...
Using the range 0 ≤ x ≤ 1 and 0 ≤ t ≤ 1 make an...
Using the range 0 ≤ x ≤ 1 and 0 ≤ t ≤ 1 make an animated plot of: 1.) y1(x,t)=cos(4πt)sin(πx) 2.) y2(x,t)=cos(8πt)sin(2πx) using matlab
Question 5. Use MATLAB to solve for and plot the response of the following models for...
Question 5. Use MATLAB to solve for and plot the response of the following models for 0≤t ≤1.5, where the input is f (t) =5t and the initial conditions are zero a. 3¨ x +21˙ x +30x = f (t) b. 5¨ A (Turn in the MATLAB script and answers from MATLAB, .m file, screen shots if needed) B (Turn in the MATLAB plot with t being time in SI units) C Comment on the response the analytical solution compared...
Use Matlab to do the following (please) : 1. Plot the following signals in one figure...
Use Matlab to do the following (please) : 1. Plot the following signals in one figure window using Matlab commands. Given x (n) = {5,2,1,3,1,4,2} plot x(3n) 2. Plot all transformations of a Gaussian signal in one figure window 3. Plot r(-3t-9).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT