ME80_HW5_Solution_F19.pdf - 5 MATLAB To run code download both the M file and the “AluminumTestData.csv” file from Coursework and put them in the

• Homework Help
• 10

This preview shows page 1 - 10 out of 10 pages.

#### You've reached the end of your free preview.

Want to read all 10 pages?

Unformatted text preview: figure plot(Phi1, T1, Phi2, T2, Phi3, T3, Phi4, T4); xlabel( 'Rotation (Radians)' ) ylabel( 'Torque (Nm)' ) title( 'Torque vs Rotation in Aluminum Samples' ); % Calculate the Max Shear stress in each sample Tau1 = T1*R1/J1; Tau2 = T2*R2outer/J2; Tau3 = T3*R3outer/J3; Tau4 = T4*R4outer/J4; % Calculate the Shear Strain in each sample Gamma1 = Phi1*R1/L1; Gamma2 = Phi2*R2outer/L2; Gamma3 = Phi3*R3outer/L3; Gamma4 = Phi4*R4outer/L4; figure plot(Gamma1, Tau1, Gamma2, Tau2, Gamma3, Tau3, Gamma4, Tau4) xlabel( 'Shear Strain' ); ylabel( 'Shear Stress (Pa)' ); title( 'Shear Stress vs Shear Strain in Aluminum Samples' ); % Calculate the modulus of rigidity by finding the slope of the Gamma-Tau % curve Line1 = polyfit(Gamma1, Tau1, 1); G1 = Line1(1); Line2 = polyfit(Gamma2, Tau2, 1); G2 = Line2(1); Line3 = polyfit(Gamma3, Tau3, 1); G3 = Line3(1); Line4 = polyfit(Gamma4, Tau4, 1); G4 = Line4(1); G = mean([G1, G2, G3, G4]) % The mean value of G is about 23.86 GPa StdDevG = std([G1, G2, G3, G4]) % The standard deviation is about 3.32 GPa...
View Full Document

• Spring '08
• Levenston,M

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern