Matlab Quiz

1388 𝑜𝑟 13. 88%3. 0 MATLAB Coding matlab Screw jack MATLAB design Script is % MATERIAL PROPERTIES % W = enter ‘Enter load means engineering matlab screw jack in kg’; W = W 9. 81; H1 = enter ‘Enter matlab required lift engineering matlab screw jack in mm’; u = input ‘Enter coefficient of friction among ingredients’; E = input ‘Enter matlab modulus of elasticity engineering matlab screw cloth in MPa’; y = atan u; TstrYP = enter ‘Enter yield element for anxiety in MPa for screw and nut material as 12 matrix respectively’; CstrYP = input ‘Enter yield element for compression in MPa for screw and nut cloth as 12 matrix respectively’; SHstrYP = enter ‘Enter yield point for shear in MPa for screw and nut fabric as 12 matrix respectively’; % DESIGN FOR SCREW SHAFT % d1 = 4W/piCstrYP1,1/5^0. 5; % Minor Diameter % disp ‘CALCULATED VALUE OF MINOR DIAMETER in mm =’ d1 = d1 %ok d2 = input ‘SELECT engineering STANDARD MAJOR DIAMETER FROM LIST 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 55 58 60 62 65 68 70 72 75 78 80 82 85 88 90 92 95 98 100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175’; disp ‘STANDARD MAJOR DIAMETER in mm =’ disp d2 if 10<=d2 andand d2<20 % Pitch % p = 2; elseif 22<=d2 andand d2<62 p = 3;@IJAERD 2018, 341 International Journal of Advance Engineering and Research Development IJAERD Volume 5, Issue 01, January 2018, e ISSN: 2348 4470, print ISSN: 2348 6406 elseif 65<=d2 andand d2<110 45 p = 4; elseif 115<=d2 andand d2<175 p = 6; else disp 'SELECT CORRECT NOMINAL DIAMETER in mm =' break end disp 'PITCH' disp p d1 = d2 p; % Standard Minor Diameter % disp 'STANDARD MINOR DIAMETER in mm =' disp d1 dm = d2+d1/2; % Mean Diameter % helix = atan p/pidm; % Helix Angle % disp 'HELIX ANGLE in radians =' disp helix if helix >= y disp ‘Screw Nut Pair is Not Self Locking’ holiday end T1 = Wdm/2tan helix + y; % Torque Required to Rotate matlab Screw % disp ‘TORQUE TO ROTATE matlab SCREW in Nmm =’ disp T1 % DESIGN FOR NUT % Pb = input ‘Enter Allowable Bearing Pressure in MPa’; if Pb == [] %ok Pb = 17; % Default cost for Pb for matlab Phosphor Bronze % end n =4W/ pid2^2 d1^2Pb; % Number of Screw Thread % n = round n; disp ‘NUMBER OF THREAD =’ disp n h = np; % Height engineering matlab Nut % disp ‘HEIGHT engineering matlab NUT in mm =’ disp h % CHECKING FOR SAFE NUT HEIGHT % if n <= 27 andand h <= 4. 0d1 disp 'NUT DESIGN CHECK IS SATISFIED' else disp 'NUT DESIGN CHECK IS NOT SATISFIED' break end % CHECKING FOR SCREW STRESSES % CstrB = 4W/ pid1^2; % Compressive stress % SHstrB = 16T1/ pid1^3; % Shear stress % 46 SHstrmax = CstrB/2 ^2 + SHstrB^2 ^0.