summaryrefslogtreecommitdiff
path: root/3802/CH8/EX8.8/Ex8_8.sce
blob: 4852d569ae2d967b7b9d6000b34f892c64df47b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014

//Ex8_8.sce.

clc;
clear;
R=200;
P=100e3;
V=500;
E=525;

printf("\n  (a)")
Il=P/V;
If=V/R;
Ia=Il+If;
Ra=(E-V)/Ia;
printf("\n The armature resistance=%1.4f ohm \n",Ra)

printf("\n  (b)")
P=60e3;
V=520;
Il=P/V;
If=V/R;
Ia=Il+If;
E=V+(Ia*Ra);
printf("\n The generated emf=%3.2f volt",E)