summaryrefslogtreecommitdiff
path: root/2267/CH10/EX2.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2267/CH10/EX2.10
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 '2267/CH10/EX2.10')
-rwxr-xr-x2267/CH10/EX2.10/Ex10_10.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2267/CH10/EX2.10/Ex10_10.sce b/2267/CH10/EX2.10/Ex10_10.sce
new file mode 100755
index 000000000..fd012f5c0
--- /dev/null
+++ b/2267/CH10/EX2.10/Ex10_10.sce
@@ -0,0 +1,17 @@
+//Part B Chapter 2 Example 10
+clc;
+clear;
+close;
+format('v',6);
+sigma_x=60;//N/mm^2
+sigma_y=30;//N/mm^2
+tau=25;//N/mm^2
+theta=45;//degree(Oblique plane angle)
+sigma_n=(sigma_x+sigma_y)/2+(sigma_x-sigma_y)/2*cosd(2*theta)+tau*sind(2*theta);//N/mm^2
+disp(sigma_n,"Value of sigma_n in N/mm^2 : ");
+sigma_t=(sigma_x-sigma_y)/2*sind(2*theta)-tau*cosd(2*theta);//N/mm^2
+disp(sigma_t,"Value of sigma_t in N/mm^2 : ");
+sigmaR=sqrt(sigma_n^2+sigma_t^2);//N/mm^2(Resultant stress)
+disp(sigmaR,"Value of sigma_R in N/mm^2 : ");
+fi=atand(sigma_t/sigma_n);//degree(Angle of obliquity)
+disp(fi,"Angle of obliquity in degree : ");