summaryrefslogtreecommitdiff
path: root/42/CH13/EX13.2
diff options
context:
space:
mode:
Diffstat (limited to '42/CH13/EX13.2')
-rwxr-xr-x42/CH13/EX13.2/sadiku_13_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/42/CH13/EX13.2/sadiku_13_2.sce b/42/CH13/EX13.2/sadiku_13_2.sce
new file mode 100755
index 000000000..b4c6cb804
--- /dev/null
+++ b/42/CH13/EX13.2/sadiku_13_2.sce
@@ -0,0 +1,18 @@
+clear;
+clc;
+format('v',6);
+c=3*10^8;
+f=50*10^6;
+disp(c/(2*f),'Length of halfdipole in meter');
+function[P,I]=curpow(E,P,r)
+n=120*%pi; R=73;
+I=E*2*r*%pi*sin(P)/(n*(cos((%pi/2)*cos(P))));
+P=(I*I*R)/2;
+disp(I*1000,'Current fed to antenna in mA');
+disp(P*1000,'Power radiated by Antenna in mWatt');
+endfunction
+curpow((10*(10)^-6),%pi/2,500*10^3);
+Zl=73+42.5*%i,Zo=75;
+T=(Zl-Zo)/(Zl+Zo);
+s=(1+abs(T))/(1-abs(T));
+disp(s,'Standing wave ratio'); \ No newline at end of file