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

//Variables

V0 = 10                      //Regulated dc supply (in volts)
LR = 0.00002                 //Line regulation 

//Calculation

dV = LR * V0                 //Change in output voltage (in volts)

//Result

printf("\n Change in output voltage is  %0.3f  mV.",dV * 10**3)