summaryrefslogtreecommitdiff
path: root/1109/CH13/EX13.12/13_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1109/CH13/EX13.12/13_12.sce')
-rwxr-xr-x1109/CH13/EX13.12/13_12.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1109/CH13/EX13.12/13_12.sce b/1109/CH13/EX13.12/13_12.sce
new file mode 100755
index 000000000..fd4bb2be5
--- /dev/null
+++ b/1109/CH13/EX13.12/13_12.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+Za=2;Zb=2.5;Zc=5;
+Ya=1/Za;Yb=1/Zb;Yc=1/Zc;
+Y1=(Ya*Yc)/(Ya+Yb+Yc);
+Z1=1/Y1;
+Y2=(Yb*Yc)/(Ya+Yb+Yc);
+Z2=1/Y2;
+Y3=(Ya*Yb)/(Ya+Yb+Yc);
+Z3=1/Y3;
+printf("The equivalent pi network is: \n");
+printf(" Z1 = %f ohms\n",Z1);
+printf(" Z2 = %f ohms\n",Z2);
+printf(" Z3 = %f ohms\n",Z3);