i alresdy solved the problem on the side but i need help writing a script in MATLAB to solve the problem. if anyone could help me write a script in MATLAB that would be great.
All Homework Assignments Homework assignments submitted for grading are to be solved using MATLAB computational software. You may solve all problems in one assignment in one script file. When complete, publish the file to a pdf document. Be sure to use plenty of comments in your work. This is for your benefit as well as the grader's benefit. Plots should be correctly formatted with a plot title and axes titles, with correct units (always). Your published file should show all of the results (answers) neatly. I solved these problems but need help writing a script to put them into MATLAB. 6. For the situation of Fig. 6 (below), where a rigid die prevents deformation in both the x-andy- directions, the material is an ABS plastic, and the stress in the 2-direction is 30 MPa compression. a. Determine the stresses in the x- and y-directions and the strain in the 2-direction. b. Evaluate the ratio of stress to strain for the z-direction, E'=02/Ex, and commenton the value obtained. Figure 6 6a) stress in X dilection = sness in material y direction = 16.154 MPa compressive) rigid die 6B) ratio of stessa 3541.076 MPO All Homework Assignments Homework assignments submitted for grading are to be solved using MATLAB computational software. You may solve all problems in one assignment in one script file. When complete, publish the file to a pdf document. Be sure to use plenty of comments in your work. This is for your benefit as well as the grader's benefit. Plots should be correctly formatted with a plot title and axes titles, with correct units (always). Your published file should show all of the results (answers) neatly. I solved these problems but need help writing a script to put them into MATLAB. 6. For the situation of Fig. 6 (below), where a rigid die prevents deformation in both the x-andy- directions, the material is an ABS plastic, and the stress in the 2-direction is 30 MPa compression. a. Determine the stresses in the x- and y-directions and the strain in the 2-direction. b. Evaluate the ratio of stress to strain for the z-direction, E'=02/Ex, and commenton the value obtained. Figure 6 6a) stress in X dilection = sness in material y direction = 16.154 MPa compressive) rigid die 6B) ratio of stessa 3541.076 MPO