diff options
Diffstat (limited to 'Working_Examples/154/DEPENDENCIES/ch14_4.sce')
-rwxr-xr-x | Working_Examples/154/DEPENDENCIES/ch14_4.sce | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Working_Examples/154/DEPENDENCIES/ch14_4.sce b/Working_Examples/154/DEPENDENCIES/ch14_4.sce new file mode 100755 index 0000000..5e72eb0 --- /dev/null +++ b/Working_Examples/154/DEPENDENCIES/ch14_4.sce @@ -0,0 +1,33 @@ +clc
+disp("Example 14.4")
+printf("\n")
+
+s=%s;
+Ya=3/(5*s+6);
+Yb=2/(5*s+6);
+Yc=s/(5*s+6);
+
+//Writing KCL equations
+disp("I1=(Ya+Yc)*V1-Yc*V2 (1)")
+disp("I2=-Yc*V1+(Yb+Yc)*V2 (2)")
+
+//The equations which contain Y parameters are
+//I1=Y11*V1+Y12*V2
+//I2=Y21*V1+Y22*V2
+
+//On comparing (1) and (2) with above equations
+disp("Y11=Ya+Yc")
+disp("Y12=-Yc=Y21")
+disp("Y22=Yb+Yc")
+
+//Substituting Ya , Yb and Yc
+Y11=Ya+Yc
+Y12=-Yc
+Y21=-Yc
+Y22=Yb+Yc
+
+disp(Y11,"Y11=")
+disp(Y12,"Y12=")
+disp(Y21,"Y21=")
+disp(Y22,"Y22=")
+
|