summaryrefslogtreecommitdiff
path: root/1541/CH3/EX3.1/Chapter3_Example1.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.1/Chapter3_Example1.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.1/Chapter3_Example1.sce')
-rwxr-xr-x1541/CH3/EX3.1/Chapter3_Example1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1541/CH3/EX3.1/Chapter3_Example1.sce b/1541/CH3/EX3.1/Chapter3_Example1.sce
new file mode 100755
index 000000000..1c809f3ab
--- /dev/null
+++ b/1541/CH3/EX3.1/Chapter3_Example1.sce
@@ -0,0 +1,19 @@
+//Chapter-3, Example 3.1, Page 3.6
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+N=900;//Rotor speed in rpm
+f=50;//Power supply frequency in Hz
+P=6;//No. of poles
+
+//CALCULATIONS
+Ns=(120*f)/P;//Synchronous speed in rpm
+s=((Ns-N)/Ns)*100;//%slip
+f1=(s*f)/100;//Frequency of rotor current in Hz
+
+//OUTPUT
+mprintf('Slip of a 3 phase motor is %i percent\nFrequency of rotor current is %i Hz',s,f1)
+
+//=================================END OF PROGRAM==============================