summaryrefslogtreecommitdiff
path: root/1892/CH1/EX1.2/Example1_2.sce
blob: 922d3cf0ec3cd89210b5faa04cb67ca7e44a935e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Example 1.2

clear; clc; close;

format('v',6);
// Given data
P=2;//No. of poles
f=50;//in Hz
S=2;//in %


//Calculations
S=S/100;//unitless
Ns=120*f/P;//in rpm
N=Ns*(1-S)
disp(N,"Speed of motor in rpm : ");