summaryrefslogtreecommitdiff
path: root/3774/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3774/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--3774/CH1/EX1.1/Ex1_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3774/CH1/EX1.1/Ex1_1.sce b/3774/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..3c09f7fc2
--- /dev/null
+++ b/3774/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,19 @@
+// exa 1.1 Pg 13
+clc;clear;close;
+Nmax=1000;// rpm
+Nmin=30;// rpm
+z=9;// no. of steps
+
+//Rn=Nmax/Nmin=fi**(z-1)
+fi=(Nmax/Nmin)**(1/(z-1));// common ratio
+
+printf('The speeds of gear box are:')
+N1=Nmin;// rpm
+for i=1:z
+ printf('\n\t\t\tN%d = %.1f rpm',i,N1)
+ N1=fi*N1;//rpm
+end;
+
+
+
+