diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH14/EX14.5/exa14_5.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1430/CH14/EX14.5/exa14_5.sce')
-rw-r--r-- | 1430/CH14/EX14.5/exa14_5.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1430/CH14/EX14.5/exa14_5.sce b/1430/CH14/EX14.5/exa14_5.sce new file mode 100644 index 000000000..26a8d8087 --- /dev/null +++ b/1430/CH14/EX14.5/exa14_5.sce @@ -0,0 +1,20 @@ +// Example 14.5
+// Y Parameters by the Direct Method
+R=10;
+C=1/40;
+s=%s;
+// From figure 14.16(b) ,V_2=0;
+disp("I_1=(s*C)*V_1---equation(1)")
+disp("I_2=2(s*C)*V_1--equation(2)")
+// From equation 1 & 2 we get
+y_11=s*C;
+y_21=2*s*C;
+
+// From figure 14.16(c),V_1=0;
+disp("I_1=-(s*C)*V_2---equation(3)")
+disp("I_2=3*I_1-I_1+V_2/10---equation(4)")
+// From equation 3 & 4 we get
+y_12=-s*C;
+y_22=(2-s)/20;
+Y=[y_11,y_12;y_21,y_22];
+disp(Y,"Required Y parameter=")
|