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

V_NL=30 // V
regulation=1

// since regulation=((V_NL-V_FL)/V_FL)*100, we get V_FL as

V_FL=100*V_NL/(100+regulation)
printf("full load voltage = %.3f V \n",V_FL)