summaryrefslogtreecommitdiff
path: root/1529/CH21/EX21.15/21_15.sce
blob: 6b1bcd11bafcf13d6f6c25a5008df17fbbb5171f (plain)
1
2
3
4
5
6
7
//Chapter 21, Problem 15
clc;
e1=200;                         //primary voltage
e2=400;                         //secondary voltage
v2=387.6;                       //secondary terminal voltage
reg=((e2-v2)/e2)*100;           //regulation
printf("Regulation = %.1f percent",reg);