summaryrefslogtreecommitdiff
path: root/1541/CH3/EX3.3/Chapter3_Example3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1541/CH3/EX3.3/Chapter3_Example3.sce
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 '1541/CH3/EX3.3/Chapter3_Example3.sce')
-rwxr-xr-x1541/CH3/EX3.3/Chapter3_Example3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1541/CH3/EX3.3/Chapter3_Example3.sce b/1541/CH3/EX3.3/Chapter3_Example3.sce
new file mode 100755
index 000000000..c2e748c18
--- /dev/null
+++ b/1541/CH3/EX3.3/Chapter3_Example3.sce
@@ -0,0 +1,19 @@
+//Chapter-3, Example 3.3, Page 3.7
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+P=6;//Number of poles
+f=50;//Supply frequency in Hz
+f1=3;//Rotor current frequency in Hz
+
+//CALCULATIONS
+s=(f1/f)*100;//Slip of the motor in %
+Ns=(120*f)/P;//Synchronous speed in rpm
+N=(Ns-((s*Ns)/100));//Speed of the motor in rpm
+
+//OUTPUT
+mprintf('Slip of the motor is %i percent\nSpeed of the motor is %i rpm',s,N)
+
+//=================================END OF PROGRAM==============================