summaryrefslogtreecommitdiff
path: root/1085/CH11/EX11.1/ex11_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1085/CH11/EX11.1/ex11_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1085/CH11/EX11.1/ex11_1.sce')
-rwxr-xr-x1085/CH11/EX11.1/ex11_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1085/CH11/EX11.1/ex11_1.sce b/1085/CH11/EX11.1/ex11_1.sce
new file mode 100755
index 000000000..be07489bf
--- /dev/null
+++ b/1085/CH11/EX11.1/ex11_1.sce
@@ -0,0 +1,22 @@
+//Exam:11.1
+clc;
+clear;
+close;
+h_1=1;
+k_1=1;
+l_1=1;
+//Miller indices of slip plane
+h_2=1;
+k_2=-1;
+l_2=1;
+//Miller indices of stress plane
+h_3=1;
+k_3=1;
+l_3=0;
+//Miller indices of slip direction
+A=(h_1*h_2+k_1*k_2+l_1*l_2)/(((h_1^2+k_1^2+l_1^2)^(1/2))*((h_2^2+k_2^2+l_2^2)^(1/2)));//Value of cos(x) where x =angle between slip plane and stress plane
+B=(h_1*h_3+k_1*k_3+l_1*l_3)/(((h_1^2+k_1^2+l_1^2)^(1/2))*((h_3^2+k_3^2+l_3^2)^(1/2)));//Value of cos(y) where y =angle between slip direction and stress direction
+C=(1-A^2)^(1/2);//Value of sin(x)
+stress=3.5;//Applied Stress in Mpa
+T_cr=stress*A*B*C;//Critical resolved shear stress(in MPa)
+disp(T_cr,'Critical resolved shear stress(in MPa)='); \ No newline at end of file