Code covered by the BSD License  

Highlights from
Mastering Mechanics 1: Using MATLAB 5

image thumbnail

Mastering Mechanics 1: Using MATLAB 5

by

 

20 Aug 2002 (Updated )

Companion Software

CH1001.m
af=[-4 0 0 3;deg2xy([45 7 1 1])];
ycord=rectangl(2,1,'centY'); % Find centroid of section
[force, momment]=reaction(af,[5,ycord]);
fnormal=mag(force,'x');
fshear=mag(force,'y');
area=rectangl(2,1,'area');
normalstress=fnormal/area

Contact us