ME80_HW2_Solution_F19.pdf - clear all close all clc Read the.csv file into a matrix Since the first row isn't data read only from the second row(row

# ME80_HW2_Solution_F19.pdf - clear all close all clc Read...

• Homework Help
• 9

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

clear all close all clc % Read the .csv file into a matrix. Since the first row isn't data read % only from the second row (row index 1) onwards data = csvread('HW2P5_data.csv',8,0); crosshead = 4; %mm/min diameter= 7.31; %mm gauge_length = 25.4; %mm % The x values are stored in the first column, use the ':' to select all % rows of the matrix time_data = data(:,1); %s % The y values are stored in the second and third columns extension = data(:,2); %mm load = data(:,3); %N gauge_displacement = data(:,4); %mm area=pi.*(diameter./2000).^2; stress=load./area; strain=gauge_displacement./gauge_length; % Plot the data plot(strain, stress); strain2=strain(1:30); stress2=stress(1:30); xlabel('strain');
ylabel('stress'); title('title'); legend('y data 1','y data 2'); grid on figure plot(strain2,stress2); fit=polyfit(strain2,stress2,1); slope=fit(1) %Young's Modulus intercept=fit(2) Emodulus=slope = 1.8639e+11 Pa

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

Want to read all 9 pages?

Unformatted text preview: Material: stainless steel Limit of elastic region: Stress: 2*10^8 Pa, strain: .0009699 Yield: 2.1 *10^8 Pa Ultimate: 5.5*10^8 Pa Rupture: 1.84*10^8 Pa 1 0 p S o L U T u N S ! P o N o T ¢ pB&gt; T om r-F p-p .-N b kN f } o • 4 N : : 7 7 , H e w F B D . A ¢E D W 4 o T &quot; S I NS P ± \$ ²³ ´ r J b ’ 1 / v i µ O ± ² ³ u ¶ · ± ´ ¸ µ ¶ + · . ¹ ¶ ¸ ¹ . · º » # º » • • e a A a • A 1 c-F o = ) • L a b _ F p-L g c . . R &gt;-eb • A » » • A ¼ ¼ 1 ½-F re-L e » F :-b • F A E n e • A a + p . • A ¾ ’ &quot; J H A H A = 9 . { 7 r » a-L A e k • L 1 c · ¿ À Á f i o B •-F n F -=-F p r F i a • F .-F E e • F • F-h • ˇ n • F-F = * F . • O t £ F t r • : . ^ · Â Ã Ä ½ º _ W . ´ Å Æ ! ¾ Ç È É • ¿ À Á Ê Â Ë W Ì Í Î À Á • % Ï Ã...
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