Question

PLEASE HELP ME INPUT THIS INTO MATLAB, this is solutions manual for DESIGN of MACHINERY 5th Edition number 11-12

PROBLEM 11-12 Statement: Figure P11-5b shows a fourbar linkage and its dimensions in meters. The steel crank, coupler, and ro164 = 1.249 kg-m? 4. Set up an LNCSxy coordinate system at the CG of each link, and draw all applicable vectors acting on theR2 -F32 (6) FBD of Link 2 (FBD of Link 3 5. Calculate the x and y components of the position vectors. R2x = RCG2.cos(02 + 180R34 = 0.413- R14 = 0.120- R34 = Rcg4-sin(64) R14x = Rcg4.cos(04 + 180-deg) R14 = RCG-sin(04 + 180-deg) Ra = (Rpg - RCG).cos(3a Gfx = ReaG4) a Gfx = 49.187. sec a G4y = -102.448 - 4 G4y = Imag4 7. Calculate the x and y components of the external force7242-N 1 192-462-N-1 1670,--?- F= R=-11 (m3-a GR-FA).-1 (m3aGoy-Far (1653- Rp FA + Rp FAN?-1 14-a GAN? may-1 (16-04-1)-1-1 FI

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Matlab Code:

*** Please leave a positive rating if you like the answer. You can ask for clarifications in the comments if you need them.

clear;clc;

a = 0.86;b = 1.85;c = 0.86;d = 2.22;
R_pa = 1.33;del3 = 0;F = 500;T4 = 0;
q2 = -36;w2 = -10;alpha2 = 10; d_link = 0.060;
gamma_s = 8303.97*9.81;g = 9.81;

%1
q3 = 46.028; q4 = 106.189;
w3 = 3.285;w4 = 11.417;
alpha3 = -109.287; alpha4 = -43.426;
%2
R_CG2 = 0.5*a;R_CG4 = 0.5*c;R_CG3 = 0.5*b;
%3
m2 = (pi*d_link^2 * a* gamma_s)/(4*g);
m3 = (pi*d_link^2 * b* gamma_s)/(4*g);
m4 = (pi*d_link^2 * c* gamma_s)/(4*g);
IG2 = (m2/12)*(0.75*d_link^2+a^2);
IG3 = (m3/12)*(0.75*d_link^2+b^2);
IG4 = (m4/12)*(0.75*d_link^2+c^2);
%5
R12x = R_CG2*cosd(q2+180);
R12y = R_CG2*sind(q2+180);
R32x = R_CG2*cosd(q2);
R32y = R_CG2*sind(q2);
R23x = R_CG3*cosd(q3+180);
R23y = R_CG3*sind(q3+180);
R43x = (R_CG3-b)*cosd(q3+180);
R43y = (R_CG3-b)*sind(q3+180);
R34x = R_CG2*cosd(q4);
R34y = R_CG2*sind(q4);
R14x = R_CG2*cosd(q4+180);
R14y = R_CG2*sind(q4+180);
Rpx = (R_pa- R_CG3)*cosd(q3);
Rpy = (R_pa- R_CG3)*sind(q3);

%6
a_G2 = R_CG2*alpha2*(-sind(q2)+1i*cosd(q2)) - a*w2^2*(cosd(q2)+1i*sind(q2));
a_G2x = real(a_G2);
a_G2y = imag(a_G2);
a_A = a*alpha2*(-sind(q2)+1i*cosd(q2)) - a*w2^2*(cosd(q2)+1i*sind(q2));
a_CG3A = R_CG3*alpha3*(-sind(q3)+1i*cosd(q3))...
-R_CG3*w3^2*(cosd(q3)+1i*sind(q3));
a_G3 = a_A + a_CG3A;
a_G3x = real(a_G3);
a_G3y = imag(a_G3);
a_G4 = R_CG4*alpha4*(-sind(q4)+1i*cosd(q4))...
-c*w4^2*(cosd(q4)+1i*sind(q4));
a_G4x = real(a_G4);
a_G4y = imag(a_G4);
%7
Fpx = F;Fpy = 0;
%8
C = [1 0 -R12y 0 0 0 0 0 0;
0 1 R12x 0 0 0 0 0 0;
1 0 -R32y -1 0 R23y 0 0 0;
0 1 R32x 0 -1 -R23x 0 0 0;
0 0 0 1 0 -R43y -1 0 R34y
0 0 0 0 1 R43x 0 -1 -R34x
0 0 0 0 0 0 1 0 -R14y;
0 0 0 0 0 0 0 1 R14x;
0 0 1 0 0 0 0 0 0;]';

F = [m2*a_G2x m2*a_G2y IG2*alpha2 (m3*a_G3x - Fpx)...
(m3*a_G3y - Fpy) (IG3*alpha3 - Rpx*Fpy + Rpy*Fpx) m4*a_G4x...
m4*a_G4y (IG4*alpha4 - T4)]';

R = inv(C)*F

R = -1851 1315.4 497.15 -224.51 53.694 -1087.3 1046.9 -3156 -45.28

Add a comment
Know the answer?
Add Answer to:
PLEASE HELP ME INPUT THIS INTO MATLAB, this is solutions manual for DESIGN of MACHINERY 5th...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT