From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 605/CH8/EX8.1/8_1.sce | 14 ++++++++++++++ 605/CH8/EX8.10/8_10.sce | 13 +++++++++++++ 605/CH8/EX8.14/8_14.sce | 9 +++++++++ 605/CH8/EX8.17/8_17.sce | 8 ++++++++ 605/CH8/EX8.19/8_19.sce | 16 ++++++++++++++++ 605/CH8/EX8.2/8_2.sce | 15 +++++++++++++++ 605/CH8/EX8.3/8_3.sce | 14 ++++++++++++++ 605/CH8/EX8.5/8_5.sce | 15 +++++++++++++++ 605/CH8/EX8.6/8_6.sce | 16 ++++++++++++++++ 605/CH8/EX8.7/8_7.sce | 18 ++++++++++++++++++ 605/CH8/EX8.9/8_9.sce | 13 +++++++++++++ 11 files changed, 151 insertions(+) create mode 100755 605/CH8/EX8.1/8_1.sce create mode 100755 605/CH8/EX8.10/8_10.sce create mode 100755 605/CH8/EX8.14/8_14.sce create mode 100755 605/CH8/EX8.17/8_17.sce create mode 100755 605/CH8/EX8.19/8_19.sce create mode 100755 605/CH8/EX8.2/8_2.sce create mode 100755 605/CH8/EX8.3/8_3.sce create mode 100755 605/CH8/EX8.5/8_5.sce create mode 100755 605/CH8/EX8.6/8_6.sce create mode 100755 605/CH8/EX8.7/8_7.sce create mode 100755 605/CH8/EX8.9/8_9.sce (limited to '605/CH8') diff --git a/605/CH8/EX8.1/8_1.sce b/605/CH8/EX8.1/8_1.sce new file mode 100755 index 000000000..eeb52634f --- /dev/null +++ b/605/CH8/EX8.1/8_1.sce @@ -0,0 +1,14 @@ + +I1=1 +V1=6*I1 +Z11=V1/I1 +V2=6*I1 +Z21=V2/I1 +I2=1 +V1=6*I2 +Z12=V1/I2 +V2=6*I2 +Z22=V2/I2 +A=[Z11,Z12;Z21,Z22] +printf("\nA=") +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.10/8_10.sce b/605/CH8/EX8.10/8_10.sce new file mode 100755 index 000000000..9640c6717 --- /dev/null +++ b/605/CH8/EX8.10/8_10.sce @@ -0,0 +1,13 @@ + +I1=1 +I2=-I1 +V1=I1 +B=-V1/I2 +D=-I1/I2 +V2=V1 +I1=0 +A=V1/V2 +C=I1/V2 +M=[A,B;C,D] +printf("\nA=") +disp(M) \ No newline at end of file diff --git a/605/CH8/EX8.14/8_14.sce b/605/CH8/EX8.14/8_14.sce new file mode 100755 index 000000000..eceb17cd7 --- /dev/null +++ b/605/CH8/EX8.14/8_14.sce @@ -0,0 +1,9 @@ + +V1in=.5*(10*exp(%i*%pi/180*0)+50*.1*exp(%i*%pi/180*40)) +disp(V1in) +V1ref=0.5*(10*exp(%i*%pi/180*0)-50*.1*exp(%i*%pi/180*40)) +disp(V1ref) +V2in=0.5*(12*exp(%i*%pi/180*30)+50*.15*exp(%i*%pi/180*100)) +disp(V2in) +V2ref=0.5*(12*exp(%i*%pi/180*30)-50*.15*exp(%i*%pi/180*100)) +disp(V2ref) \ No newline at end of file diff --git a/605/CH8/EX8.17/8_17.sce b/605/CH8/EX8.17/8_17.sce new file mode 100755 index 000000000..dc09ccf58 --- /dev/null +++ b/605/CH8/EX8.17/8_17.sce @@ -0,0 +1,8 @@ + +n=10 +S11=(n^2-1)/(n^2+1) +S21=2*n/(n^2+1) +S22=(1-n^2)/(1+n^2) +S12=2*n/(n^2+1) +A=[S11,S12;S21,S22] +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.19/8_19.sce b/605/CH8/EX8.19/8_19.sce new file mode 100755 index 000000000..851438e10 --- /dev/null +++ b/605/CH8/EX8.19/8_19.sce @@ -0,0 +1,16 @@ + +Zo1=50 +Zo2=50 +Vs1=1 +Vs2=1 +Z1=%i*50+50*(-%i*25)/(50-%i*25) +S11=(Z1-Zo1)/(Z1+Zo1) +Z2=(50+%i*50)*(-%i*25)/(50+%i*50-25*%i) +S22=(Z2-Zo2)/(Z2+Zo2) +V2=(10-%i*20)/(50+%i*50+10-%i*20)*Vs1 +S21=2*V2/Vs1 +V2=(10-%i*30)/(50+10-%i*30)*Vs2 +V1=50/(50+%i*50)*V2 +S12=2*V1/Vs2 +A=[S11,S12;S21,S22] +disp(A,"A=") \ No newline at end of file diff --git a/605/CH8/EX8.2/8_2.sce b/605/CH8/EX8.2/8_2.sce new file mode 100755 index 000000000..2a558bddf --- /dev/null +++ b/605/CH8/EX8.2/8_2.sce @@ -0,0 +1,15 @@ + +I1=1 +V1=12*I1 +V2=0 +Z21=V2/I1 +Z11=V1/I1 +I2=1 +V2=3*I2 +V1=0 +Z12=V1/I2 +V2=3*I2 +Z22=V2/I2 +A=[Z11,Z12;Z21,Z22] +printf("\nA=") +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.3/8_3.sce b/605/CH8/EX8.3/8_3.sce new file mode 100755 index 000000000..94d08fc4d --- /dev/null +++ b/605/CH8/EX8.3/8_3.sce @@ -0,0 +1,14 @@ + +I1=1 +V1=18*I1 +V2=6*I1 +Z11=V1/I1 +Z21=V2/I1 +I2=1 +V2=9*I2 +V1=6*I2 +Z12=V1/I2 +Z22=V2/I2 +A=[Z11,Z12;Z21,Z22] +printf("\nA=") +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.5/8_5.sce b/605/CH8/EX8.5/8_5.sce new file mode 100755 index 000000000..f839c0e65 --- /dev/null +++ b/605/CH8/EX8.5/8_5.sce @@ -0,0 +1,15 @@ + +V2=1 +V1=1 +V2=0 +I1=0.05*V1 +I2=-0.05*V1 +Y11=I1/V1 +Y21=I2/V1 +I2=0.05*V2 +I1=-0.05*V2 +Y12=-0.05 +Y22=0.05 +A=[Y11,Y12;Y21,Y22] +printf("\nA=") +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.6/8_6.sce b/605/CH8/EX8.6/8_6.sce new file mode 100755 index 000000000..a2d5f1957 --- /dev/null +++ b/605/CH8/EX8.6/8_6.sce @@ -0,0 +1,16 @@ + +V1=1 +V2=1 +I1=0.0225/0.325*V1 +VN=I1/(0.2+0.025) +I2=-0.2*VN +Y11=I1/V1 +Y21=I2/V1 +I2=0.025/0.325*V2 +VM=I2/(0.1+0.025) +I1=-0.1*VM +Y12=I1/V2 +Y22=I2/V2 +A=[Y11,Y12;Y21,Y22] +printf("\nA=") +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.7/8_7.sce b/605/CH8/EX8.7/8_7.sce new file mode 100755 index 000000000..5e27cee92 --- /dev/null +++ b/605/CH8/EX8.7/8_7.sce @@ -0,0 +1,18 @@ + +V1=1 +V2=1 +I1=0.1192*V1 +IN=0.05*I1/(0.05+(0.1*(0.2+0.025)/(0.1+0.2+0.025))) +IM=0.2*0.0692*V1/(0.2+0.025) +I2=-(IN+IM) +Y11=I1/V1 +Y21=I2/V1 +I2=(0.05+0.2*(0.1+0.025)/(0.2+0.1+0.025))*V2 +IN=0.05*I2/(0.05+(0.2*(0.1+0.025)/(0.2+.1+0.025))) +IM=0.1*0.0769*V2/(0.1+0.025) +I1=-(IN+IM) +Y12=I1/V2 +Y22=I2/V2 +A=[Y11,Y12;Y21,Y22] +printf("\nA=") +disp(A) \ No newline at end of file diff --git a/605/CH8/EX8.9/8_9.sce b/605/CH8/EX8.9/8_9.sce new file mode 100755 index 000000000..9b4e233a6 --- /dev/null +++ b/605/CH8/EX8.9/8_9.sce @@ -0,0 +1,13 @@ + +I1=1 +V1=14*I1 +I2=-2/3*I1 +h11=V1/I1 +h21=I2/I1 +V2=9*I2 +V1=6*I2 +h12=V1/V2 +h22=I2/V2 +A=[h11,h12;h21,h22] +printf("\nA=") +disp(A) \ No newline at end of file -- cgit