summaryrefslogtreecommitdiff
path: root/343/CH2/EX2.59/ex2_59.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /343/CH2/EX2.59/ex2_59.sce
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 '343/CH2/EX2.59/ex2_59.sce')
-rwxr-xr-x343/CH2/EX2.59/ex2_59.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/343/CH2/EX2.59/ex2_59.sce b/343/CH2/EX2.59/ex2_59.sce
new file mode 100755
index 000000000..9d797bc18
--- /dev/null
+++ b/343/CH2/EX2.59/ex2_59.sce
@@ -0,0 +1,12 @@
+clc
+Z1=10+%i*15; //Assigning values to parameters
+Z2=6-%i*8;
+I=15;
+Z=(Z1*Z2)/(Z1+Z2);
+V=I*Z;
+I1=V/Z1;
+I2=V/Z2;
+P1=I1^2*real(Z1);
+P2=I2^2*real(Z2);
+disp("Watts",polar(P1),"Power taken by branch 1");
+disp("Watts",polar(P2),"Power taken by branch 2"); \ No newline at end of file