summaryrefslogtreecommitdiff
path: root/3754/CH5/EX5.11/5_11.sce
blob: 816e86efed558801475902f7d2e6ac3623950b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables

Vth = 100                      //Thevenin Voltage (in micro-volts)
Rth = 50                       //Thevenin Resistance (in ohm)

//Calculation

RL = Rth                       //Maximum Load Resistance (in ohm)
PL = (Vth/(Rth + RL))**2 *RL   //Maximum load power (in pico-watt)

//Result
printf("\n Maximum load resistance is  %0.3f  ohm.\nMaximum load power is  %0.3f  pW.",RL,PL)