summaryrefslogtreecommitdiff
path: root/1076/CH10/EX10.11
diff options
context:
space:
mode:
Diffstat (limited to '1076/CH10/EX10.11')
-rwxr-xr-x1076/CH10/EX10.11/10_11.sce42
1 files changed, 42 insertions, 0 deletions
diff --git a/1076/CH10/EX10.11/10_11.sce b/1076/CH10/EX10.11/10_11.sce
new file mode 100755
index 000000000..8860eb509
--- /dev/null
+++ b/1076/CH10/EX10.11/10_11.sce
@@ -0,0 +1,42 @@
+clear
+clc
+
+X=[
+ .25 .25 .05
+ .2 .2 .05
+ .06 .06 .06
+ .07 .07 .07
+ .1 .1 .3
+ .1 .1 .3
+]
+
+B=[
+ 100 11
+ 100 11
+ 100 11
+ 100 11
+ 100 220
+ 100 220
+ ]
+V1=11
+V2=220
+S=100
+Xe=3*.03
+//end 9
+X1=(((X(1,1)*B(1,1) *V1/(S*B(1,2))) +(X(3,1)*B(3,1) *V1/(S*B(3,2))) )^-1+((X(2,1)*B(2,1) *V1/(S*B(2,2)))+(X(4,1)*B(4,1) *V1/(S*B(4,2))) +((X(5,1)*B(5,1) *V2/(S*B(5,2)))^-1 +(X(6,1)*B(6,1) *V2/(S*B(6,2)))^-1)^-1)^-1)^-1
+
+X2=(((X(1,2)*B(1,1) *V1/(S*B(1,2))) +(X(3,2)*B(3,1) *V1/(S*B(3,2))) )^-1+((X(2,2)*B(2,1) *V1/(S*B(2,2)))+(X(4,2)*B(4,1) *V1/(S*B(4,2))) +((X(5,2)*B(5,1) *V2/(S*B(5,2)))^-1 +(X(6,2)*B(6,1) *V2/(S*B(6,2)))^-1)^-1)^-1)^-1
+
+X0=((X(3,3)*B(3,1) *V1/(S*B(3,2)))^-1 + ((Xe *B(4,1) *V1/(S*B(4,2))) + (X(2,3)*B(2,1) *V1/(S*B(2,2))) + (X(4,3)*B(4,1) *V1/(S*B(4,2))) +(((X(5,3)*B(5,1) *V2/(S*B(5,2))))^-1 +(X(6,3)*B(6,1) *V2/(S*B(6,2)))^-1)^-1 )^-1 )^-1
+
+Z1=%i * round(X1*1e3)/1e3
+Z2=%i * round(X2*1e3)/1e3
+Z0=%i * round(X0*1e3)/1e3
+
+Z=[Z1 Z2 Z0]'
+
+mprintf("\nZ1= %.3fj\n", imag(Z(1)))
+mprintf("Z2= %.3fj\n", imag(Z(2)))
+mprintf("Z0= %.3fj\n", imag(Z(3)))
+
+