summaryrefslogtreecommitdiff
path: root/1109/CH13/EX13.4/13_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1109/CH13/EX13.4/13_4.sce')
-rwxr-xr-x1109/CH13/EX13.4/13_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1109/CH13/EX13.4/13_4.sce b/1109/CH13/EX13.4/13_4.sce
new file mode 100755
index 000000000..07f898aaf
--- /dev/null
+++ b/1109/CH13/EX13.4/13_4.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+z11=10;z22=12;z12=5;z21=5;
+deltaz=(z11*z22)-(z12*z21);
+y11=z22/deltaz;
+printf("The y-parameters are:\n");
+printf("-y11 = %f mho\n",round(y11*10^4)/10^4);
+y22=z11/deltaz;
+printf("-y22 = %f mho\n",round(y22*10^4)/10^4);
+y12=-z12/deltaz;
+printf("-y12 = %f mho\n",round(y12*10^3)/10^3);
+y21=y12;
+printf("-y21 = %f mho",round(y21*10^3)/10^3);