Matlab assignment.
The objectives of this project are (1) to introduce the studentsto scripting applied to solution of mechanical engineering problemsand (2) to create a Matlab script that allows the computation ofprincipal stresses and strains starting from a generic state ofstress and that automates the drawing of 3D Mohr circles
Assignment
1) Read from input a stress tensor (3D);
2) For any state of 3D stress compute the principal stressvalues (σ1, σ2, σ3) with σ1 > σ2 > σ3;
3) Calculate the maximum shear stress (radius of the threecircles);
4) Draws the correspondent Mohr circles;
5) Given the principal stresses (computed at point 2) use theHooke’s law to calculate the correspondent principal strains;
6) Create a flowchart correspondent to this code (Points 1 to5).