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

//Variables

LR = 10.0                              //Load regulation (in micro-volt per milli-Ampere)
VNL = 5.0                              //No load Voltage (in volts)
dIL = 20.0                             //Change in current (in milli-Ampere)

//Calculation

VFL = VNL - LR * dIL * 10**-6          //Full load Voltage (in volts) 

//Result

printf("\n Full load Voltage is  %0.3f  V.",VFL)