diff options
Diffstat (limited to 'Working_Examples/215/CH11/EX11.6/ex11_6.sce')
-rwxr-xr-x | Working_Examples/215/CH11/EX11.6/ex11_6.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Working_Examples/215/CH11/EX11.6/ex11_6.sce b/Working_Examples/215/CH11/EX11.6/ex11_6.sce new file mode 100755 index 0000000..dc3252c --- /dev/null +++ b/Working_Examples/215/CH11/EX11.6/ex11_6.sce @@ -0,0 +1,9 @@ +clc
+//Example 11.6
+//Calculate the Average power
+printf("Given")
+disp('Resistor value is 4 ohm, i1=2*cos(10t)-3*cos(20t) A')
+R=4;im1=2;im2=-3;
+//Let P be the average power delievered
+P=0.5*im1^2*R+0.5*im2^2*R
+printf("Average power=%d W",P)
|