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 /3764/CH7/EX7.2/Ex7_2.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 '3764/CH7/EX7.2/Ex7_2.sce')
-rw-r--r-- | 3764/CH7/EX7.2/Ex7_2.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/3764/CH7/EX7.2/Ex7_2.sce b/3764/CH7/EX7.2/Ex7_2.sce new file mode 100644 index 000000000..6083da5b9 --- /dev/null +++ b/3764/CH7/EX7.2/Ex7_2.sce @@ -0,0 +1,34 @@ +clc +// +// + +//Variable declaration +P=150 // Horizontal force(lb) +T=(150*18)/(1000.0) // Force couple system(kip.in) +Mx=(150*10)/(1000.0) // Force couple system(kip.in) +sx=0 // Stress at x +M=1.5 // Torque(kip.in) +c=0.6 // Radius(in) +n=-1 + +//Calculation +//Case(a) Stresses S x , S y , T xy at Point H +sy=(((M)*(c))/((1/4.0)*(%pi)*((0.6**4)))**2) // Stress(ksi) + +txy=(((T)*(c))/((1/2.0)*(%pi)*((0.6**4)))**2) // Shearing stress(ksi) + + +//Case(b) Principal Planes and Principal Stresses +phyp1=(n*61)/2.0 // Angle(degree) +phyp2=180-61 // Angle(degree) + +Smax=8.84/2.0 + sqrt(4.42**2 + 7.96**2) // Maximum stress(ksi) +Smin=8.84/2.0 - sqrt(4.42**2 + 7.96**2) // Minimum stress(ksi) + +// Result +printf("\n Case(a) Normal stress = %0.3f ksi' ,sy) +printf("\n Case(a) Shearing stress = %0.3f ksi' ,txy) +printf("\n Case(b) Principal plane angle = %0.3f degree' ,phyp1) +printf("\n Case(b) Principal plane angle = %0.3f degree' ,phyp2) +printf("\n Case(c) Maximum stress at point H = %0.3f ksi' ,Smax) +printf("\n Case(c) Minimum stress at point H = %0.3f ksi' ,Smin) |