summaryrefslogtreecommitdiff
path: root/215/CH11/EX11.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /215/CH11/EX11.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '215/CH11/EX11.4')
-rwxr-xr-x215/CH11/EX11.4/Figure11_41.jpgbin0 -> 123088 bytes
-rwxr-xr-x215/CH11/EX11.4/Figure11_42.jpgbin0 -> 102372 bytes
-rwxr-xr-x215/CH11/EX11.4/ex11_4.sce21
3 files changed, 21 insertions, 0 deletions
diff --git a/215/CH11/EX11.4/Figure11_41.jpg b/215/CH11/EX11.4/Figure11_41.jpg
new file mode 100755
index 000000000..626b2974f
--- /dev/null
+++ b/215/CH11/EX11.4/Figure11_41.jpg
Binary files differ
diff --git a/215/CH11/EX11.4/Figure11_42.jpg b/215/CH11/EX11.4/Figure11_42.jpg
new file mode 100755
index 000000000..47abc9048
--- /dev/null
+++ b/215/CH11/EX11.4/Figure11_42.jpg
Binary files differ
diff --git a/215/CH11/EX11.4/ex11_4.sce b/215/CH11/EX11.4/ex11_4.sce
new file mode 100755
index 000000000..d51e61522
--- /dev/null
+++ b/215/CH11/EX11.4/ex11_4.sce
@@ -0,0 +1,21 @@
+clc
+//Example 11.4
+//Calculate the Average power absorbed and average power supplied by source
+//From figure 11.6
+//By applying mesh analysis
+I1mag=11.18;I1ang=-63.43;I2mag=7.071;I2ang=-45;R=2;Vleft=20;Vright=10;
+//Current through 2 ohm resistor
+printf("I1-I2=%d(%d ang) A \n",5,-90)
+//Average power absorbed by resistor
+PR=0.5*5^2*R
+printf("Average power absorbed by resistor=%d W \n",PR)
+//Power supplied by left source
+Pleft=0.5*Vleft*I1mag*cos(0-I1ang*%pi/180)
+//Power supplied by right source
+Pright=0.5*Vright*I2mag*cos(0+I2ang*%pi/180)
+printf("Power supplied by sources \t Pleft=%d W \t Pright=%3.1f W",Pleft,Pright);
+
+
+
+
+