diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3864/CH7/EX7.7/Ex7_7.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3864/CH7/EX7.7/Ex7_7.sce')
-rw-r--r-- | 3864/CH7/EX7.7/Ex7_7.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3864/CH7/EX7.7/Ex7_7.sce b/3864/CH7/EX7.7/Ex7_7.sce new file mode 100644 index 000000000..c07f45f71 --- /dev/null +++ b/3864/CH7/EX7.7/Ex7_7.sce @@ -0,0 +1,32 @@ +clear +// +// +// + +//Initilization of Variables + +//stresses +p_x=60 //N/mm**2 +p_y=-40 //N/mm**2 + +q=10 //N/mm**2 //shear stress + +//Calculations + +//Principal Stresses +p1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 //N/mm**2 +p2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 //N/mm**2 + +//Max shear stress +q_max=(((p_x-p_y)*2**-1)**2+q**2)**0.5 //N/mm**2 + +//Inclination of principal stress to plane +theta=atan(2*q*(p_x-p_y)**-1)*(180*%pi**-1)//Degrees +theta2=(theta)*2**-1 //degrees + +theta3=(theta+180)*2**-1 //degrees + +//Result +printf("\n Principal Stresses are: %0.2f N/mm**2",p1) +printf("\n : %0.2f N/mm**2",p2) +printf("\n Max shear stresses %0.2f N/mm**2",q_max) |