summaryrefslogtreecommitdiff
path: root/1109/CH13/EX13.14/13_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1109/CH13/EX13.14/13_14.sce')
-rwxr-xr-x1109/CH13/EX13.14/13_14.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1109/CH13/EX13.14/13_14.sce b/1109/CH13/EX13.14/13_14.sce
new file mode 100755
index 000000000..813a8ac6b
--- /dev/null
+++ b/1109/CH13/EX13.14/13_14.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+Y1=1;Y2=2;Y3=1;
+y11=Y1+Y2;
+y12=-Y2;
+y21=y12;
+y22=Y2+Y3;
+Y11=y11+y11;
+Y12=y12+y12;
+Y21=Y12;
+Y22=y22+y22;
+printf("The y-parameters are:\n");
+printf(" Y11 = %f mho\n",Y11);
+printf(" Y12 = %f mho\n",Y12);
+printf(" Y21 = %f mho\n",Y21);
+printf(" Y22 = %f mho\n",Y22);