Professional Documents
Culture Documents
Assignment
Assignment
Assignment
\
|
=
1 3 0
3 2 1
0 1 1
o
determine, using Matlab, the principal stresses and principal directions. Your Matlab function
should be saved to a file named stress.m. and it should have the following heading:
function [stresses,dir1,dir2,dir3] = stress()
where the first output parameter, stresses, should be an array of 3 elements containing the three
principal stress values in decreasing order (i.e. stresses(1) > stresses(2) > stresses(3));
the last three output parameters, dir1, dir2, and dir3, should all be arrays of 3 elements
corresponding to the principal directions for stresses(1), stresses(2), and stresses(3)
respectively.
You should use the supplied stress_test.m script file to test your stress function.
Sketch (using pen and paper) the orientation of the principal axes and include it in your report.
(Hint: study the entries of the principal vectors and draw them approximately with respect to the
original coordinate set; these will give you the principal directions. You can attach a pencil drawing
or use any suitable drawing package. You can also call the Matlab function plot, line, or
quiver3 in your stress.m to plot these vectors for your report. Other useful Matlab functions
include eig, diag, and sort.) Explain the meaning of principal stresses and principal directions
in your report.
(25%)