blob: d09f8b85002be43767ff1df4ef9bc0378950ea1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//chapter1
//example1.6
//page14
//for maximum power transfer, resistance of load and amplifier should match
//so we take load=15 ohm
Rl=15 // ohm
Ri=15 // ohm
V=12 // V
Rt=Rl+Ri
I=V/Rt
P=I^2*Rl
printf("for maximum power transfer load must equal amplifier resistance \nso required load = %d ohm\n \n",Rl)
printf("power delivered to load = %.3f W",P)
|