summaryrefslogtreecommitdiff
path: root/3836/CH6/EX6.4/Ex6_4.sce
blob: aa17eabd20e41a038c57bb3fa12f77755b4bfdd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Initialisation
Vo=15.2                               //Output Voltage
Rl=50                                 //Load Resistance

//Calculation 
Po=(Vo**2)/Rl                           //Output Power

//Result
printf("\n Output Power, Po = %.1f W",Po)