summaryrefslogtreecommitdiff
path: root/3813/CH3/EX3.1/Ex3_1.sce
blob: 57327d8d9d481ff7cb04db190f8e0405e12bd62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill 
//Edition:Second 
//Ex3_1
clc;
clear;
Rd=2;//Resistance in ohm
Eb=150;//Back emf in V
Vs=400;//Supply voltage in V
Alpha=0.52;//angle in radian
Vdia=((2*sqrt(2)*Vs*cos(Alpha))/%pi);
Id=(Vdia-Eb)/Rd;
Irms=Id/sqrt(2);
disp(Id,"Current in the load in A is:")