blob: 1be24be80aa4f4abe44091862fce531713ddc2d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear//
//Variables
RL = 20 //Load resistance (in kilo-ohm)
V2 = 24 //Secondary voltage (in volts)
//Calculation
Vm = 2**0.5 * V2 //Maximum value of secondary voltage (in volts)
Im = Vm / RL //Maximumj value of load current (in milli-Ampere)
Idc = 0.318 * Im //dc current (in milli-Ampere)
//Result
printf("\n The value of dc load current is %0.3f mA.",Idc)
|