summaryrefslogtreecommitdiff
path: root/1445/CH10/EX10.11/ch10_ex_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH10/EX10.11/ch10_ex_11.sce')
-rw-r--r--1445/CH10/EX10.11/ch10_ex_11.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1445/CH10/EX10.11/ch10_ex_11.sce b/1445/CH10/EX10.11/ch10_ex_11.sce
new file mode 100644
index 000000000..2d2164770
--- /dev/null
+++ b/1445/CH10/EX10.11/ch10_ex_11.sce
@@ -0,0 +1,25 @@
+//CHAPTER 10- THREE-PHASE INDUCTION MACHINES
+//Example 11
+
+disp("CHAPTER 10");
+disp("EXAMPLE 11");
+
+//VARIABLE INITIALIZATION
+P1=4; //number of poles
+s=5/100; //slip
+f=60; //in Hertz
+
+//SOLUTION
+
+//solution (a)
+N_s=(120*f)/P1;
+N_r=N_s*(1-s);
+N_r=round(N_r); //to round off the value
+disp(sprintf("(a) The speed of the motor is %d rpm",N_r));
+
+//solution (b)
+P2=6;
+N_s=(120*f)/P2;
+disp(sprintf("(b) The speed of the generator is %d rpm",N_s));
+
+//END