summaryrefslogtreecommitdiff
path: root/Antenna_and_Wave_Propagation_by_S_Wali/12-Reflector_Antennas.ipynb
blob: bcc37f428eca94162b63a7d1245d12d2a5f6813e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 12: Reflector Antennas"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.9_1: First_null_beam_width_and_power_gain.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Example No. 12.9.1\n",
"clc;\n",
"clear;\n",
"close;\n",
"format('v',6);\n",
"D=2;//m(Diameter)\n",
"f=6000;//MHz(Frequency)\n",
"c=3*10^8;//m/s////speed of light\n",
"lambda=c/(f*10^6);//m(Wavelength)\n",
"FNBW=140*lambda/D;//degree\n",
"disp(FNBW,'First null beam width(FNBW in degree) : ');\n",
"GP=6*(D/lambda)^2;//unitless(Power gain)\n",
"GP_dB=10*log10(GP);//dB(Power gain)\n",
"disp(GP_dB,'Power Gain in dB : ');\n",
"//Ans in the book is not accurate."
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.9_2: Diameter_of_mouth_and_HPBW.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Example No. 12.9.2\n",
"clc;\n",
"clear;\n",
"close;\n",
"format('v',5);\n",
"GP=1000;//unitless(Power gain)\n",
"lambda=10;//cm(Wavelength)\n",
"D=sqrt(GP/6)*(lambda/100);//m(Diameter)\n",
"disp(D,'Diameter of mouth in meter : ');\n",
"HPBW=58*(lambda/100)/D;//degree(HPBW)\n",
"disp(HPBW,'Half power beam width(HPBW in degree) : ');"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.9_3: Gain_Beamwidth_and_capture_area.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Example No. 12.9.3\n",
"clc;\n",
"clear;\n",
"close;\n",
"format('v',6);\n",
"D=6;//meter(Diameter)\n",
"f=10;//GHz(Frequency)\n",
"c=3*10^8;//m/s////speed of light\n",
"lambda=c/(f*10^9);//m(Wavelength)\n",
"GP=6*(D/lambda)^2;//unitless(Power gain)\n",
"GP_dB=10*log10(GP);//dB(Power gain)\n",
"disp(GP_dB,'Gain in dB : ');\n",
"FNBW=140*lambda/D;//degree(FNBW)\n",
"disp(FNBW,'FNBW in degree : ');\n",
"HPBW=58*lambda/D;//degree(HPBW)\n",
"disp(HPBW,'HPBW in degree : ');\n",
"K=0.65;//constant\n",
"Ao=K*%pi/4*D^2;//m²(Capture area)\n",
"disp(Ao,'Capture area in m² : ');"
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}