summaryrefslogtreecommitdiff
path: root/1616/CH2/EX2.22/ex2_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1616/CH2/EX2.22/ex2_22.sce')
-rw-r--r--1616/CH2/EX2.22/ex2_22.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1616/CH2/EX2.22/ex2_22.sce b/1616/CH2/EX2.22/ex2_22.sce
new file mode 100644
index 000000000..48119fe7e
--- /dev/null
+++ b/1616/CH2/EX2.22/ex2_22.sce
@@ -0,0 +1,13 @@
+//ex2.22 Design the transmission line section as areactive element
+
+f=6e9;
+w=2*%pi*f;
+L=0.01e-6;
+X=w*L;
+Z0=150;
+lamda=4.0;
+b=2*%pi/lamda;
+loc=(1/b)*acot(-X/Z0); //length of the line
+disp('The reactance to be realized is '+string(X)+' ohm');
+disp('The length of the line therefore is = '+string(loc)+' cm');
+