summaryrefslogtreecommitdiff
path: root/3705/CH8/EX8.12
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3705/CH8/EX8.12
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 '3705/CH8/EX8.12')
-rw-r--r--3705/CH8/EX8.12/Ex8_12.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3705/CH8/EX8.12/Ex8_12.sce b/3705/CH8/EX8.12/Ex8_12.sce
new file mode 100644
index 000000000..f4a0adade
--- /dev/null
+++ b/3705/CH8/EX8.12/Ex8_12.sce
@@ -0,0 +1,28 @@
+
+clear//
+
+//Variable Declaration
+ex=800*10**-6 //Strain in x (no units)
+ey=200*10**-6 //Strain in y(no units)
+y_xy=-600*10**-6 //Strain in xy(no units)
+
+//Calculations
+e_bar=(ex+ey)*0.5 //Strain
+R=sqrt(2*300**2)*10**-6 //Resultant
+
+//Part 1
+e1=e_bar+R //Strain in Principal Axis(no units)
+e2=e_bar-R //Strain in Principal Axis(no units)
+
+//Part 2
+alpha=15*180**-1*%pi //From the Mohr Circle in degrees
+e_xbar=e_bar-(R*cos(alpha)) //Strain in x (no units)
+e_ybar=e_bar+(R*cos(alpha)) //Strain in y(no units)
+
+shear_strain=2*R*sin(alpha) //Shear follows
+
+//Result
+printf("\n The principal Strains are")
+printf("\n e1= %0.6f e2= %0.6f ",e1,e2)
+printf("\n The follows components are")
+printf("\n ex= %0.6f ey= %0.6f y_xy= %0.6f ",e_xbar,e_ybar,shear_strain)