summaryrefslogtreecommitdiff
path: root/3507/CH20/EX20.1/Ex20_1.sce
blob: beac32ff8a48a5dc78c87f306bb5fb43409b6691 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter20
//example20.1
//page437

V_NL=400 // V
V_FL=300 // V

regulation=((V_NL-V_FL)/V_FL)*100

printf("percent voltage regulation = %.3f percent \n",regulation)