summaryrefslogtreecommitdiff
path: root/2744/CH8/EX8.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2744/CH8/EX8.1
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 '2744/CH8/EX8.1')
-rwxr-xr-x2744/CH8/EX8.1/Ex8_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2744/CH8/EX8.1/Ex8_1.sce b/2744/CH8/EX8.1/Ex8_1.sce
new file mode 100755
index 000000000..a0c4b9e37
--- /dev/null
+++ b/2744/CH8/EX8.1/Ex8_1.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+d = 6;//inches
+b = 3/4;//inch
+P = 18;//tons
+e = 1/8;//inch
+A = b*d;//sq.in
+M = P*e;//ton-in
+Z = (1/6)*b*d^2;//in^3
+p_0 = P/A;// tons/in^2
+p_b = M/Z;// ton/in^2
+p_max = p_0+p_b;// tons/in^2
+p_min = p_0-p_b;// tons/in^2
+printf('p_max = %.1f tons/in^2.,tensile\n p_min = %.1f tons/in^2.,tensile',p_max,p_min);