Question: Plot a) on matlab please, code along the lines of sample code. Sample code provided: clc clear for th=0:2*pi/36:2*pi; a=5; c = 6; d=7; b=8;

Plot a) on matlab please, code along the lines of sample code.
Sample code provided:
clc clear
for th=0:2*pi/36:2*pi;
a=5; c = 6;
d=7; b=8;
AC=sqrt(a^2 +d^2 - 2*a*d*cos(th)); th1=acos((d^2 +(AC^2)-a^2)/(2*d*AC)); th2=acos(((AC^2) + b^2 - c^2) / (2*AC*b)); th3 = (th2-th1);
plot( [0 a*cos(th)],[0,a*sin(th)], 're-'); hold on;
plot( [a*cos(th) a*cos(th) + b*cos(th3)],[a*sin(th) a*sin(th) + b*sin(th3)], 'gr-'); hold on; plot( [0 d],[0,0], 'bl-'); hold on;
plot( [d a*cos(th)+b*cos(th3)],[0,a*sin(th)+b*sin(th3)], 'cy-'); hold off;
axis([-10 20 -10 10]);
pause(0.1);
end
 Plot a) on matlab please, code along the lines of sample

2.24 Plot the path of point Pfor a nverted slider-crank linkage; (b) second inversion of the slider-crank linkage; (c) Scott-Russell straight-line linkage; and (d) drag-link linkage. OP Figure P2.24 (a) RCA = 2 in, RBA = 3.5 in, and RPC = 4 in; b) RCA-40 mm, RBA-20mm, and RPB65 mm: (c) RBA RCB-RPB-25 mm; (d) RDA-1 in, RBA 2 in, RCB = RCD = 3 in, and RPB = 4 in. 2.24 Plot the path of point Pfor a nverted slider-crank linkage; (b) second inversion of the slider-crank linkage; (c) Scott-Russell straight-line linkage; and (d) drag-link linkage. OP Figure P2.24 (a) RCA = 2 in, RBA = 3.5 in, and RPC = 4 in; b) RCA-40 mm, RBA-20mm, and RPB65 mm: (c) RBA RCB-RPB-25 mm; (d) RDA-1 in, RBA 2 in, RCB = RCD = 3 in, and RPB = 4 in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!