blob: 4fb84d38185d394f9bef6fc4c8557050499c5199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//Example 11.3
//Calculate the Average Power
printf("Given")
disp('ZL=8-i*11 ohm, I=5(20 deg)A')
R=8;Iamp=5;
//We need to calculate the average power
//In the calculation of average power the resistance part of impedace only occurs
//Let P be the average power
P=0.5*Iamp^2*R
printf("Average Power=%d W \n",P)
|