summaryrefslogtreecommitdiff
path: root/2339/CH13/EX13.3.1
diff options
context:
space:
mode:
Diffstat (limited to '2339/CH13/EX13.3.1')
-rwxr-xr-x2339/CH13/EX13.3.1/Ex13_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2339/CH13/EX13.3.1/Ex13_3.sce b/2339/CH13/EX13.3.1/Ex13_3.sce
new file mode 100755
index 000000000..0104a021e
--- /dev/null
+++ b/2339/CH13/EX13.3.1/Ex13_3.sce
@@ -0,0 +1,13 @@
+clc
+clear
+
+D1=0.3;
+D2=0.2;
+C=3;
+
+L1=[(22/7)*(1/2)*(D1+D2)]+[((D1+D2)^2)/(4*C)]+(2*C);
+L2=[(22/7)*(1/2)*(D1+D2)]+[((D1-D2)^2)/(4*C)]+(2*C);
+
+L=L2-L1;
+printf('The belt length is to be reduced by %2.4f mm',(0-L)*1000);
+printf('\n');