Figure 1. (a) Cube of material loaded in compression platens of a (b) universal
ID: 2073933 • Letter: F
Question
Figure 1. (a) Cube of material loaded in compression platens of a (b) universal testing machine. http:/www.instron.com/en-ushesting- tm-c109 The test data was imported into MATLAB, saved as column arrays named Deformation and Force, and these variables were saved in a mat file named compression_datamat (file attached). Write a MATLAB script to do the following 1. Calculate stress (in Nmm) and strain (in %). Use variable names stress and Strain . 2. Use the table function to display the stress and strain values. 3. Use the max function to find the maximum stress (called the ultimate compressive strength). Use variable name MaxStress 4. Use the plot funciton to create a graph of stress vs. strain 5. Use the xlabe 1 and ylabe l functions to including axes labeis with units. Your Script C Reset MATLAB Documentation 1compression test on a 7-mm cube of bone 2 MCalcluate stress, strain, ultimate compressive strength %[enter 44(enter your name] date) 6load the test data 7 Load conpression data.nat MacBook Air F5 F7 59 F10 3 4Explanation / Answer
CD=load('compression_data.mat');
% Assuming the deformation is in 2nd coloumn and force values are in
% first column
deformation=CD(:,2);
force=CD(:,1);
area=7*7; % cross sectional area in mm^2
L=7; % orginal length of test specimen in mm
stress=force./area;
strain=((deformation-L)./L)*100;
max_stress=max(stress); % ultimate stress
plot(strain,stress);
xlabel('percent strain (%)');
ylabel('stress (MPa)');
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.