summaryrefslogtreecommitdiff
path: root/3835/CH9/EX9.7/Ex9_7.sce
blob: 268c69fd022e405d9cbaa9af29dd16cd79b96433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//
//shunt field current
ish=400/220 //from circuit diagram
//armature current
i=50
ia=i+ish
printf("\n armature current= %0.1f  A",ia)
//armature voltage
voldrop=3
ra=0.04
rs=0.02
v=400
e=v+ia*(ra+rs)+voldrop
printf("\n armature voltage= %0.1f  V",e)