Question: Exercise 1: Write a script file to plot the stress-strain curve for 1045 Hot Rolled Steel a. Clear the workspace variables bImport the file s1045.txt



Exercise 1: Write a script file to plot the stress-strain curve for 1045 Hot Rolled Steel a. Clear the workspace variables bImport the file s1045.txt using the load command (load sE1045.txt) This command will load the data into a two-column variable called sf1045. c. Define your data variables: a. A variable representing the strain of the steel bar (in/in) b. A variable representing the force applied to the steel bar (Ibf c. A variable representing the steel bar's diameter (in) d. Compute the stress using the formula given above. e. Plot stress versus strain with strain on the x-axis and stress on the y-axis. Be sure to label the axes and title the plot as shown in Figure 2 belovw y 104Stress-strain for 1045 hot rolled carbon steel 107 0 0.005 0.0 0.015 0.02 0.025 0.03 0.035 strain (in/in) Figure 2. Plot of Strain v. Stress for 1045 Hot Rolled Steel Exercise 1: Write a script file to plot the stress-strain curve for 1045 Hot Rolled Steel a. Clear the workspace variables bImport the file s1045.txt using the load command (load sE1045.txt) This command will load the data into a two-column variable called sf1045. c. Define your data variables: a. A variable representing the strain of the steel bar (in/in) b. A variable representing the force applied to the steel bar (Ibf c. A variable representing the steel bar's diameter (in) d. Compute the stress using the formula given above. e. Plot stress versus strain with strain on the x-axis and stress on the y-axis. Be sure to label the axes and title the plot as shown in Figure 2 belovw y 104Stress-strain for 1045 hot rolled carbon steel 107 0 0.005 0.0 0.015 0.02 0.025 0.03 0.035 strain (in/in) Figure 2. Plot of Strain v. Stress for 1045 Hot Rolled Steel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
