diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2339/CH13/EX13.3.1/Ex13_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2339/CH13/EX13.3.1/Ex13_3.sce')
-rwxr-xr-x | 2339/CH13/EX13.3.1/Ex13_3.sce | 13 |
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');
|