Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please construct a Matlab Program that converts the true stress vs true strain c

ID: 3887752 • Letter: P

Question

Please construct a Matlab Program that converts the true stress vs true strain chart below and computes and plots ENGINEERING stress vs ENGINEERING strain for a tension test of hot rolled steel. (Please dont copy a program for a load vs displacement chart)

Take the minimum and maximum true strains to be 0.0001 and 0.92. Assume that the initial cylindrical sample dimensions are: radius = 1.0 in., length = 5.0 in

Here is the true stress vs strain chart to convert.

Elastic region Transition region Plastic strain-strengthening region . 200 = 0.92 115 100 80 115 KS 60 30 10 3 4 5 6 780.1 2 3 4 56 78 1.0 2 3 4 56 78 10 2 3 4 5678100 True strain ET1% (log) FIGURE 3.3 True-stress-true-strain curve-hot-rolled 1020 steel (corresponds to Figs. 3.1 and 3.2).

Explanation / Answer

% Plot the various responses d = dir('*.def1.txt'); for i = 1:length(d) % Get data fname = d(i).name; A = importdata(fname); % Define strain as first column of data in A (*.def1.txt) strain = A.data(:,1); % Define stress as second through fourth columns in A (*def1.txt) stress = A.data(:,2:4); % Generate plot plot(strain,stress(:,1),'-or','LineWidth',2,'MarkerEdgeColor','r',... 'MarkerFaceColor','r','MarkerSize',5),hold on plot(strain,stress(:,2),'-ob','LineWidth',2,'MarkerEdgeColor','b',... 'MarkerFaceColor','b','MarkerSize',5),hold on plot(strain,stress(:,3),'-og','LineWidth',2,'MarkerEdgeColor','g',... 'MarkerFaceColor','g','MarkerSize',5),hold on axis square ylim([0 10]) set(gca,'LineWidth',2,'FontSize',24,'FontWeight','normal','FontName','Times') set(get(gca,'XLabel'),'String','Strain','FontSize',32,'FontWeight','bold','FontName','Times') set(get(gca,'YLabel'),'String','Stress (GPa)','FontSize',32,'FontWeight','bold','FontName','Times') set(gcf,'Position',[1 1 round(1000) round(1000)]) % Export the figure to a tif file exportfig(gcf,strrep(fname,'.def1.txt','.tif'),'Format','tiff',... 'Color','rgb','Resolution',300) end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote