PLEASE HELP ME INPUT THIS INTO MATLAB, this is solutions manual for DESIGN of MACHINERY 5th Edition number 11-12
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
PLEASE HELP ME INPUT THIS INTO MATLAB, this is solutions manual for DESIGN of MACHINERY 5th...
ME 301 MECHANISMS Final Examination. Exam duration is 120 minutes and questions are equally weighted 1) In the figure a 6-bar mechanism is shown with dimensions. Find all its instant centers and determine the ǐ velocity of the sliding link 6 if crank AB is rotating CCW with a speed of 2 rad/sec. Also find the angular velocities of links 3,4 and 5 by using the instant centers 2) Find the acceleration of the sliding link of the mechanism given...
PLEASE SOLVE USING MATLAB As shown, two weights are in state of static equilibrium, hanging from three strings of known lengths. Write 6 equations and solve them in MATLAB to determine the angles (0,, θ2,93) and tensions (T. T2, T3) of the strings. Hint: We can write 4 equations of equilibrium based on F 0and Fy- 0 for each mass. Two more equations are obtained by writing the displacement compatibility relations L1 cos(01)+L2cos(02) +Lacos(03) 8 L1 sin(θ 1 ) 0...
Please need answers theta1 and theta2 in degree 900) x(t)- C0 + Cl*sin(w*t+thetal) + C2*sin(2*w*t+theta2) A2*cos (2*w*t) + B2*sin(2*w*t) w-600 rad/sec minus 180 degrees. theta2 (deg) ans:5 x (t)A0 + Al*cos (w*t) + B1*sin(w*t) + Express all angles between plus and Determine co, c1, thetal (deg), C2, Function Symmetry Even Odd Half-Wave Full-Wave 1) T/2 x(t) 2) x(t) Fill out the table using1's and 0'ts For example, if the first fumction is odd and has full-wave symmetry the top row...
please help me with this MATLAB CODE and explain to me what each line does and what is used for? leave your comments as words, not as pictures. ..................................................................................................................................................................... clear all; close all; % For a script file, you better start with clear all and close all % However, for a fucntion, you better NOT to start % with them %% End of cell mode example %% Plot function t = 0:0.1:5; x1 = sin(2*5*t); x2 = cos(3*7*t);...
I have been trying this problem for over 8 hours. How do I make the Matlab code for the given problem. It has to move. - Use the . You may use cif to clear the figure for the next instant of time The goal is the same as before except this time you will plot a moving 3 bar lin mechanism shown below kage. Use the L2 (k2,ya L3 The equations that govern the motion of this linkage are:...
Please do this in Matlab. Not sure if you need this code: e cofunction [x, er, n] = FixedPoint(g, x1, maxtol, maxitr) if nargin < 4, maxitr = 25; end if nargin < 3, maxtol = 1e-3; end k = 0 ; er = 1; x = x1; while er >= maxtol && k < maxitr k=k+1; xold = x; x=g(x); er=abs((x-xold)/x); fprintf('iter = %i, x = %e, er = %e ', k,x,er); end n=k; if n ==...
Please help with this MATLAB problem! I'm writing in MATLAB_R2018b if that makes a difference:) 7. Write a Matlab function (HW07 07.m) that takes 4 arguments and returns two arrays. The arguments are the Xc and yc coordinates of the center of a circle, the radius r of the circle, and the number of points n on the circle. The function should create a list of n equally-spaced angle values ranging from 0 to 2n. Then, for each angle value,...
Please help with this B: C3H30 d, 6H Hz 371.56 365.38 359.25 353.13 347.06 193.00 110.44 102.06 ppm 4.149 4.080 4.012 3.943 3.876 2.155 1.234 1.140 s, 1H m, 1H TTTTTTTTTTTTTTTTTTTTT 11 10 9 8 7 6 5 4 3 2 1 HSP-03-214 ppm ppm Int. 64.04 732 25.29 1000 160 140 120 80 60 40 20 0 200 180 COS-60-521 100 ppm B: C3H2O Structure and Assignment
Please help me with this MATLAB programming problem! Im coding iin MATLAB2018 if that makes any difference! The first picture is the question i need to answer. The picture below is used as reference to answer the question. The last picture (below) is the into to the problem, and is used as reference. 1. Use Matlab to create the following single plot with three subplots. All titles, gridlines, and axis labels should be as shown. Arc System Response 15 E...
Can you please help me solve this with its part a b c and d? (0%) Problem 13: A block of mass m = 3.4 kg is on an inclined plane with a coefficient of friction My = 0.31, at an initial height h=0.63 m above the ground. The plane is inclined at an angle 0 = 47°. The block is then compressed against a spring a distance Ax=0.11 m from its equilibrium point (the spring has a spring constant...