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
In a single Matlab script, plot a sine wave and cosine wave over 2 periods (0...
In a single Matlab script, plot a sine wave and cosine wave over 2 periods (0 to 4π). Checkpoints of the requirements: Generate your independent variables first; the step size should be no larger than 0.1 so that it has enough samples to get smooth lines. Plot the two waves on the same graph.   Specify the line color and styles: red dashed line for sine & blue solid line with dot markers for cosine. Include axis labels and a descriptive...
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...
Write a MATLAB *function* that draws a spiral by using the plot() command to connect-the-dots of...
Write a MATLAB *function* that draws a spiral by using the plot() command to connect-the-dots of a set of points along the spiral's trajectory. The function should have three input arguments: the number of points along the trajectory, the number of rotations of the spiral, and the final radius of the spiral. The function does not need any output arguments. Use nargin to provide default values for the input arguments. The spiral should begin at the origin. At each step...
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
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT