From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 215/CH11/EX11.2/Figure11_21.jpg | Bin 0 -> 50085 bytes 215/CH11/EX11.2/Figure11_22.jpg | Bin 0 -> 65046 bytes 215/CH11/EX11.2/ex11_2.sce | 29 +++++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100755 215/CH11/EX11.2/Figure11_21.jpg create mode 100755 215/CH11/EX11.2/Figure11_22.jpg create mode 100755 215/CH11/EX11.2/ex11_2.sce (limited to '215/CH11/EX11.2') diff --git a/215/CH11/EX11.2/Figure11_21.jpg b/215/CH11/EX11.2/Figure11_21.jpg new file mode 100755 index 000000000..9d428ea12 Binary files /dev/null and b/215/CH11/EX11.2/Figure11_21.jpg differ diff --git a/215/CH11/EX11.2/Figure11_22.jpg b/215/CH11/EX11.2/Figure11_22.jpg new file mode 100755 index 000000000..64962b856 Binary files /dev/null and b/215/CH11/EX11.2/Figure11_22.jpg differ diff --git a/215/CH11/EX11.2/ex11_2.sce b/215/CH11/EX11.2/ex11_2.sce new file mode 100755 index 000000000..d9afdb0dd --- /dev/null +++ b/215/CH11/EX11.2/ex11_2.sce @@ -0,0 +1,29 @@ +clc +//Example 11.2 +//Calculate the average power +printf("Given") +disp('v=4*cos(%pi/6*t), V=4(0 deg), Z=2(60 deg)') +Vamp=4;Vang=0;Zamp=2;Zang=60; +//Let I be the phasor current +Iamp=Vamp/Zamp +Iang=Vang-Zang +P=0.5*Vamp*Zamp*cos((Zang*%pi)/180) +printf("P=%d W \n",P); +t=-1:1:15 +t1=-3:1:12 +v=Vamp*cos(%pi/6*t) +//i=2*cos((%pi/6)*t-(%pi/3)) +i=Iamp*cos(%pi/6*t+((Iang*%pi)/180)) +figure +a= gca (); +plot (t,v,t,i) +xtitle ('v,i vs t' ,'t' ,'v,i'); +a. thickness = 2; +//Instantaneous power p=v*i +//On solving +p=2+4*cos(%pi/3*t+((Iang*%pi)/180)) +figure +a= gca (); +plot (t,p) +xtitle ('p vs t' ,'t' ,'p'); +a. thickness = 2; -- cgit