diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /866/CH9/EX9.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '866/CH9/EX9.2')
-rwxr-xr-x | 866/CH9/EX9.2/9_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/866/CH9/EX9.2/9_2.sce b/866/CH9/EX9.2/9_2.sce new file mode 100755 index 000000000..555bb2e7e --- /dev/null +++ b/866/CH9/EX9.2/9_2.sce @@ -0,0 +1,16 @@ +clc
+//initialisation of variables
+M= 100*10^6 //Nmm
+BeamB= 300 //mm
+BeamL= 200 //mm
+BeamT= 25 //mm
+BeamT2= 20 //mm
+//CALCULATIONS
+Iz= ((BeamL*BeamB^3)/12)-((BeamL-BeamT)*(BeamB-2*BeamT2)^3)/12
+sigmaxbyY= -M/Iz
+SB= sigmaxbyY*(BeamB/2)
+ST= sigmaxbyY*(-BeamB/2)
+//RESULTS
+printf ('Stress at top of the beam= %.2fN/mm^2(Tension)',ST)
+printf ('\n Stress at bottom of the beam= %.2fN/mm^2(compression)',SB)
+
|