summaryrefslogtreecommitdiff
path: root/605/CH3/EX3.11/3_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /605/CH3/EX3.11/3_11.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '605/CH3/EX3.11/3_11.sce')
-rwxr-xr-x605/CH3/EX3.11/3_11.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/605/CH3/EX3.11/3_11.sce b/605/CH3/EX3.11/3_11.sce
new file mode 100755
index 000000000..b73875c9d
--- /dev/null
+++ b/605/CH3/EX3.11/3_11.sce
@@ -0,0 +1,28 @@
+//data
+W=2*%pi*26*10^6 //rad/s
+Vp=200*10^6 //m/S
+B=W/Vp
+Zo=50 //ohm
+Zs=50 //ohm
+Vs=100 //volt
+ZL=100+%i*50 //ohm
+l=10 //m
+//formulas and result
+printf("\nresult:-")
+printf("\nB=%f rad/m",B)
+Zin=Zo*(ZL+%i*Zo*tan(B*l))/(Zo+%i*ZL*tan(B*l))
+disp(Zin,"Zin=")
+VA=Vs/(Zs+Zin)*Zin
+disp(VA,"VA=")
+ZTh=Zo*complex(Zs,Zo*tan(B*l))/complex(Zo,Zs*tan(B*l))
+disp(ZTh,"ZTh=")
+Vin=50*exp(%i*(-8.168))
+VTh=2*Vin
+disp(VTh,"VTh=")
+VL=VTh/(ZTh+ZL)*ZL
+disp(VL,"VL=")
+F=(complex(19.21,3.52)-50)/(complex(19.21,3.52)+50)
+disp(F,"F=")
+Z=10
+VL=Vin*(exp(-%i*B*Z)+F*exp(%i*B*Z))
+disp(VL,"VL=")