blob: 59b08b7574292271a797f0bf50023e96219d0e8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
RL = 1.0 * 10**3 //Load resistance (in ohm)
IC = 10.0 * 10**-3 //Collector current (in Ampere)
//Calculation
PL = IC**2 * RL //Load power (in watt)
//Result
printf("\n Power delivered to the load is %0.3f W.",PL)
|