summaryrefslogtreecommitdiff
path: root/3776/CH8/EX8.4/Ex8_4.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3776/CH8/EX8.4/Ex8_4.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH8/EX8.4/Ex8_4.sce')
-rw-r--r--3776/CH8/EX8.4/Ex8_4.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3776/CH8/EX8.4/Ex8_4.sce b/3776/CH8/EX8.4/Ex8_4.sce
new file mode 100644
index 000000000..75a4498ff
--- /dev/null
+++ b/3776/CH8/EX8.4/Ex8_4.sce
@@ -0,0 +1,20 @@
+clear
+//Given
+//
+S_x = 3.0 //MPa _ the noraml stress in x direction
+S_y = 1.0 //MPa _ the noraml stress in Y direction
+c = (S_x + S_y)/2 //MPa - The centre of the mohr circle
+point_x = 1 //The x coordinate of a point on mohr circle
+point_y = 3 //The y coordinate of a point on mohr circle
+//Caliculations
+
+Radius = ((point_x-c)**2 + point_y**2**0.5) // The radius of the mohr circle
+//22.5 degrees line is drawn
+o = 22.5 //degrees
+a = 71.5 - 2*o //Degrees, from diagram
+stress_n = c + Radius*sin((180/%pi)*(o)) //MPa The normal stress on the plane
+stress_t = Radius*cos((180/%pi)*(o)) //MPa The tangential stress on the plane
+printf("\n The normal stress on the 22 1/2 plane %0.2f MPa",stress_n)
+printf("\n The tangential stress on the 22 1/2 plane %0.2f MPa",stress_t)
+printf("\n answer varies due to rounding off errors")
+