summaryrefslogtreecommitdiff
path: root/3754/CH20/EX20.3/20_3.sce
blob: 9b78a88aa88d40899958fd4c03a65bf395444112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear//

//Variables

dIL = 40.0                    //Change in current (in milli-Ampere)
VNL = 8.0                     //Voltage under no load (in volts)
VFL = 7.995                   //Voltage under full load (in volts)

//Calculation

LR = (VNL - VFL)/ dIL         //Line regulation (in milli-volt per milli-Ampere)   

//Result

printf("\n Line regulation is  %0.3f mV/mA.",LR * 10**3)