summaryrefslogtreecommitdiff
path: root/1319/CH6/EX6.8/6_8.sce
blob: bdc2f0cf3066b3c104d93d88cb56025b5662f7a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Speed calculation of series motor

clc;
clear;

N1=800;// Speed in Case 1
Ra=1;
I=15;
V=200;
Rs=5; // Series resistance

Eb1=V-(I*Ra);// Back Emf in Case 1
Eb2=V-(I*(Ra+Rs));// Back Emf in case 2

//Speed directly proportional to EMF

N2=Eb2*N1/Eb1;

printf("The speed of the motor when connected in series to a resistance of 5 ohms = %g rpm \n",N2)