diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3776/CH10/EX10.15/Ex10_15.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3776/CH10/EX10.15/Ex10_15.sce')
-rw-r--r-- | 3776/CH10/EX10.15/Ex10_15.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3776/CH10/EX10.15/Ex10_15.sce b/3776/CH10/EX10.15/Ex10_15.sce new file mode 100644 index 000000000..72f3ed920 --- /dev/null +++ b/3776/CH10/EX10.15/Ex10_15.sce @@ -0,0 +1,17 @@ +clear +//Given +E = 30*(10**3) //ksi - The youngs modulus of the material +stress_y = 40 //ksi - yield stress +stress_max = 24.2 //ksi - the maximum stress +l = 2 //in - The length of the crossection +b = 3 //in - the width of the crossection +h = 3 //in - the depth of the crossection +//lets check ultimate capacity for a 2 in deep section +M_ul = stress_y*b*(l**2)/4 //K-in the ultimate capacity +curvature = 2*stress_y/(E*(h/2) ) //in*-1 the curvature of the beam +curvature_max = stress_max/(E*(h/2)) //in*-1 The maximum curvature +printf("\n the ultimate capacity %0.3f k-in",M_ul) +printf("\n the ultimate curvature %0.3f in *-1",curvature_max) +printf("\n E given in equation is wrong") +printf("\n Actual E in question is 30*10**3") + |