{"nbformat_minor": 0, "cells": [{"source": "# Chapter 6 : HF,VHF AND UHF ANTENNAS", "cell_type": "markdown", "metadata": {}}, {"source": "## EXAMPLE 6.1,PAGE NUMBER 278 ", "cell_type": "markdown", "metadata": {}}, {"execution_count": 1, "cell_type": "code", "source": "from math import pi,sin\n\n# Variable Declaration\n\nf = 30 # frequency in MHz\nf = 30*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\nlamda = c/f # wavelength in meter\nDelta = 30 # angle of elevation in Degrees\n\n#calculation\n\nH = lamda/(4 * sin(Delta*pi/180)) # Rhombic height in m\nl = lamda/(2 * sin(Delta*pi/180) **2) # wire length in m\nphi = 90-Delta # tilt angle in Degrees\n\n#Results\n\nprint \"Rhombic height is:\",round(H,2),\"meter\"\nprint \"Tilt angle is:\",round(phi,2),\"degrees\"\nprint \"length of wire is:\",round(l,2),\"meter\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Rhombic height is: 5.0 meter\nTilt angle is: 60.0 degrees\nlength of wire is: 20.0 meter\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.2,PAGE NUMBER 278", "cell_type": "markdown", "metadata": {}}, {"execution_count": 2, "cell_type": "code", "source": "from math import pi,sin\n\n\n# Variable Declaration\n\nf = 20 # frequency in MHz\nf = 20*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\nlamda = c/f # wavelength in meter\n\n#calculation\n\nDelta = 10 # angle of elevation in Degrees\nH = lamda/(4 * sin(Delta*pi/180)) # Rhombic height in m\nl = lamda/(2 * sin(Delta*pi/180) **2) # wire length in m\nphi = 90-Delta # tilt angle in Degrees\n\n#Results\n\nprint \"Rhombic height is:\",round(H,3),\"meter\"\nprint \"Tilt angle is:\",round(phi,2),\"degrees\"\nprint \"length of wire is:\",round(l,3),\"meter\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Rhombic height is: 21.595 meter\nTilt angle is: 80.0 degrees\nlength of wire is: 248.726 meter\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.3,PAGE NUMBER 279-281", "cell_type": "markdown", "metadata": {}}, {"execution_count": 3, "cell_type": "code", "source": "from math import pi,sin,cos\n\n\n\n# Variable Declaration\n\nf = 30 # frequency in MHz\nf = 30*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\nlamda = c/f # wavelength in meter\n\n#calculation and results:\n\n\n\nprint \"for Delta = 10 degrees\"\n\n\nDelta1 = 10 # angle of elevation in Degrees\nH1 = lamda/(4 * sin(Delta1*pi/180)) # Rhombic height in m\nl1 = lamda/(2 * sin(Delta1*pi/180) **2) # wire length in m\nphi1 = 90-Delta1 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H1,3),\"meter\"\nprint \"Tilt angle is:\",round(phi1,2),\"degrees\"\nprint \"length of wire is:\",round(l1,2),\"meter\"\n\n\n\n\nprint \"for Delta = 15 degrees\"\n\n\nDelta2 = 15 # angle of elevation in Degrees\nH2 = lamda/(4 * sin(Delta2*pi/180)) # Rhombic height in m\nl2 = lamda/(2 * sin(Delta2*pi/180) **2) # wire length in m\nphi2 = 90-Delta2 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H2,3),\"meter\"\nprint \"Tilt angle is:\",round(phi2,2),\"degrees\"\nprint \"length of wire is:\",round(l2,2),\"meter\"\n\n\n\nprint \"for Delta = 20 degrees\"\n\n\nDelta3 = 20 # angle of elevation in Degrees\nH3 = lamda/(4 * sin(Delta3*pi/180)) # Rhombic height in m\nl3 = lamda/(2 * sin(Delta3*pi/180) **2) # wire length in m\nphi3 = 90-Delta3 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H3,3),\"meter\"\nprint \"Tilt angle is:\",round(phi3,2),\"degrees\"\nprint \"length of wire is:\",round(l3,2),\"meter\"\n\n\n\n\nprint \"for Delta = 25 degrees\"\n\n\nDelta4 = 25 # angle of elevation in Degrees\nH4 = lamda/(4 * sin(Delta4*pi/180)) # Rhombic height in m\nl4 = lamda/(2 * sin(Delta4*pi/180) **2) # wire length in m\nphi4 = 90-Delta4 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H4,3),\"meter\"\nprint \"Tilt angle is:\",round(phi4,2),\"degrees\"\nprint \"length of wire is:\",round(l4,2),\"meter\"\n\n\n\n\nprint \"for Delta = 30 degrees\"\n\n\nDelta5 = 30 # angle of elevation in Degrees\nH5 = lamda/(4 * sin(Delta5*pi/180)) # Rhombic height in m\nl5 = lamda/(2 * sin(Delta5*pi/180) **2) # wire length in m\nphi5 = 90-Delta5 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H5,3),\"meter\"\nprint \"Tilt angle is:\",round(phi5,2),\"degrees\"\nprint \"length of wire is:\",round(l5,2),\"meter\"\n\n\n\n\nprint \"for Delta = 35 degrees\"\n\n\nDelta6 = 35 # angle of elevation in Degrees\nH6 = lamda/(4 * sin(Delta6*pi/180)) # Rhombic height in m\nl6 = lamda/(2 * sin(Delta6*pi/180) **2) # wire length in m\nphi6 = 90-Delta6 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H6,3),\"meter\"\nprint \"Tilt angle is:\",round(phi6,2),\"degrees\"\nprint \"length of wire is:\",round(l6,2),\"meter\"\n\n\n\n\nprint \"for Delta = 40 degrees\"\n\n\nDelta7 = 40 # angle of elevation in Degrees\nH7 = lamda/(4 * sin(Delta7*pi/180)) # Rhombic height in m\nl7 = lamda/(2 * sin(Delta7*pi/180) **2) # wire length in m\nphi7 = 90-Delta7 # tilt angle in Degrees\nprint \"Rhombic height is:\",round(H7,3),\"meter\"\nprint \"Tilt angle is:\",round(phi7,2),\"degrees\"\nprint \"length of wire is:\",round(l7,2),\"meter\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "for Delta = 10 degrees\nRhombic height is: 14.397 meter\nTilt angle is: 80.0 degrees\nlength of wire is: 165.82 meter\nfor Delta = 15 degrees\nRhombic height is: 9.659 meter\nTilt angle is: 75.0 degrees\nlength of wire is: 74.64 meter\nfor Delta = 20 degrees\nRhombic height is: 7.31 meter\nTilt angle is: 70.0 degrees\nlength of wire is: 42.74 meter\nfor Delta = 25 degrees\nRhombic height is: 5.916 meter\nTilt angle is: 65.0 degrees\nlength of wire is: 27.99 meter\nfor Delta = 30 degrees\nRhombic height is: 5.0 meter\nTilt angle is: 60.0 degrees\nlength of wire is: 20.0 meter\nfor Delta = 35 degrees\nRhombic height is: 4.359 meter\nTilt angle is: 55.0 degrees\nlength of wire is: 15.2 meter\nfor Delta = 40 degrees\nRhombic height is: 3.889 meter\nTilt angle is: 50.0 degrees\nlength of wire is: 12.1 meter\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.4,PAGE NUMBER 281", "cell_type": "markdown", "metadata": {}}, {"execution_count": 4, "cell_type": "code", "source": "from math import pi,sin,cos\n\n\n\n# Variable Declaration\n\nf = 30 # frequency in MHz\nf = 30*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\nlamda = c/f # wavelength in meter\nDelta = 30 # angle of elevation in Degrees\n\n#calculation\n\nk = 0.74 # constant\nH = lamda/(4 * sin(Delta*pi/180)) # Rhombic height in m\nl = lamda/(2 * sin(Delta*pi/180) **2)*k # wire length in m\nphi = 90-Delta # tilt angle in Degrees\n\n#Results\n\nprint \"Rhombic height is:\",round(H,2),\"meter\"\nprint \"Tilt angle is:\",round(phi,2),\"degrees\"\nprint \"length of wire is:\",round(l,2),\"meter\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Rhombic height is: 5.0 meter\nTilt angle is: 60.0 degrees\nlength of wire is: 14.8 meter\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.5,PAGE NUMBER 282", "cell_type": "markdown", "metadata": {}}, {"execution_count": 5, "cell_type": "code", "source": "from math import pi,sin\n\n\n# Variable Declaration\n\nf = 20 # frequency in MHz\nf = 20*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\nlamda = c/f # wavelength in meter\nDelta = 20 # angle of elevation in Degrees\nk = 0.74 # constant\n\n#calculation\n\nH = lamda/(4 * sin(Delta*pi/180)) # Rhombic height in m\nl = lamda/(2 * sin(Delta*pi/180) **2)*k # wire length in m\nphi = 90-Delta # tilt angle in Degrees\n\n\n#Results\n\n\nprint \"Rhombic height is:\",round(H,2),\"meter\"\nprint \"Tilt angle is:\",round(phi,2),\"degrees\"\nprint \"length of wire is:\",round(l,2),\"meter\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Rhombic height is: 10.96 meter\nTilt angle is: 70.0 degrees\nlength of wire is: 47.44 meter\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.6,PAGE NUMBER 282", "cell_type": "markdown", "metadata": {}}, {"execution_count": 6, "cell_type": "code", "source": "from __future__ import division\n\n\n\n# Variable Declaration\n\n\nf_MHz = 172 # frequency in MHz\nc = 3*10**8 # speed of light in m/s\n\n#calculation\n\nlamda = c/f_MHz # wavelength in m\nLa = 478/f_MHz # length of driven element in feet\nLr = 492/f_MHz # length of reflector in feet\nLd = 461.5/f_MHz # length of director in feet\nS = 142/f_MHz # element spacing in feet\n\n\n#Results\n\n\nprint \"length of driven element is:\", round(La,2),\"feet\"\nprint \"length of reflector is:\", round(Lr,2),\"feet\"\nprint \"length of director is:\", round(Ld,3),\"feet\"\nprint \"element spacing is:\",round(S,3),\"feet\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "length of driven element is: 2.78 feet\nlength of reflector is: 2.86 feet\nlength of director is: 2.683 feet\nelement spacing is: 0.826 feet\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.7,PAGE NUMBER 283", "cell_type": "markdown", "metadata": {}}, {"execution_count": 7, "cell_type": "code", "source": "from __future__ import division\n\n# Variable Declaration\n\n\nG = 12 # required gain in dB\nf = 200 # frequency in MHz \nf = 200*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\n\n#calculations\n\n\nlamda = c/f # wavelength in m\nLa = 0.46*lamda # length of driven element in m (note: in book La is given 0.416*lamda misprint)\nLr = 0.475*lamda # length of reflector in m\nLd1 = 0.44*lamda # length of director1 in m\nLd2 = 0.44*lamda # length of director2 in m\nLd3 = 0.43*lamda # length of director3 in m\nLd4 = 0.40*lamda # length of director4 in m\nSL = 0.25*lamda # spacing between reflector and driver in m\nSd = 0.31*lamda # spacing director and driving element in m\nd = 0.01*lamda # diameter of elements in m\nl = 1.5*lamda # length of array in m\n\n\n#Results\n\n\nprint \"length of driven element is:\" ,round(La,2),\"m\"\nprint \"length of reflector is:\",round(Lr,4),\"m\"\nprint \"length of director1 is:\",round(Ld1,2),\"m\"\nprint \"length of director2 is:\",round(Ld2,2),\"m\"\nprint \"length of director3 is:\",round(Ld3,3),\"m\"\nprint \"length of director4 is:\",round(Ld4,2),\"m\"\nprint \"spacing between reflector and driver is:\",round(SL,3),\"m\"\nprint \"spacing director and driving element is:\",round(Sd,3),\"m\"\nprint \"diameter of elements is:\",round(d,3),\"m\"\nprint \"length of array is:\",round(l,2),\"m\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "length of driven element is: 0.69 m\nlength of reflector is: 0.7125 m\nlength of director1 is: 0.66 m\nlength of director2 is: 0.66 m\nlength of director3 is: 0.645 m\nlength of director4 is: 0.6 m\nspacing between reflector and driver is: 0.375 m\nspacing director and driving element is: 0.465 m\ndiameter of elements is: 0.015 m\nlength of array is: 2.25 m\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.8,PAGE NUMBER 283", "cell_type": "markdown", "metadata": {}}, {"execution_count": 8, "cell_type": "code", "source": "from __future__ import division\nfrom math import atan\n\n\n# Variable Declaration\n\n\nG = 9 # required gain in dB\nf_l = 125 # lowest frequency in MHz\nf_l = 125*10**6 # lowest frequency in Hz\nf_h = 500 # highest frequency in MHz\nf_h = 500*10**6 # lowest frequency in Hz\nc = 3*10**8 # speed of light in m/s\ntau = 0.861 # scaling factor\nsigma = 0.162 # spacing factor\n\n\n#calculation\n\n\nlamda_l = c/f_l # longest wavelength in m\nlamda_s = c/f_h # shortest wavelength in m\nalpha = 2*atan((1-tau)/(4*sigma)) # wedge angle in Degrees\nL1 = lamda_l/2 # in m\nL2 = tau*L1 # in m\nL3 = tau*L2 # in m\nL4 = tau*L3 # in m\nL5 = tau*L4 # in m\nL6 = tau*L5 # in m\nL7 = tau*L6 # in m\nL8 = tau*L7 # in m\nL9 = tau*L8 # in m\nL10 = tau*L9 # in m\nL11 = tau*L10 # in m\n\n# element spacing relation\n#formula : sn = 2*sigma*Ln\n\n\nS1 = 2*sigma*L1 # in m\nS2 = 2*sigma*L2 # in m\nS3 = 2*sigma*L3 # in m\nS4 = 2*sigma*L4 # in m\nS5 = 2*sigma*L5 # in m\nS6 = 2*sigma*L6 # in m\nS7 = 2*sigma*L7 # in m\nS8 = 2*sigma*L8 # in m\nS9 = 2*sigma*L9 # in m\nS10 = 2*sigma*L10 # in m\nS11 = 2*sigma*L11 # in m\n\n\n\n#results\n\n\nprint(\"designing of log-periodic antenna:\")\n\nprint \"L1 is:\",round(L1,4),\"m\"\nprint \"L2 is:\",round(L2,4),\"m\"\nprint \"L3 is:\",round(L3,4),\"m\"\nprint \"L4 is:\",round(L4,4),\"m\"\nprint \"L5 is:\",round(L5,4),\"m\"\nprint \"L6 is:\",round(L6,4),\"m\"\nprint \"L7 is:\",round(L7,4),\"m\"\nprint \"L8 is:\",round(L8,4),\"m\"\nprint \"L9 is:\",round(L9,4),\"m\"\nprint \"L10 is:\",round(L10,4),\"m\"\nprint \"L11 is:\",round(L11,4),\"m\"\n\nprint \"elements spacing relation:\"\n\nprint \"S1 is:\",round(S1,4),\"m\"\nprint \"S2 is:\",round(S2,4),\"m\"\nprint \"S3 is:\",round(S3,4),\"m\"\nprint \"S4 is:\",round(S4,4),\"m\"\nprint \"S5 is:\",round(S5,4),\"m\"\nprint \"S6 is:\",round(S6,4),\"m\"\nprint \"S7 is:\",round(S7,4),\"m\"\nprint \"S8 is:\",round(S8,4),\"m\"\nprint \"S9 is:\",round(S9,4),\"m\"\nprint \"S10 is:\",round(S10,4),\"m\"\nprint \"S11 is:\",round(S11,4),\"m\"\n\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "designing of log-periodic antenna:\nL1 is: 1.2 m\nL2 is: 1.0332 m\nL3 is: 0.8896 m\nL4 is: 0.7659 m\nL5 is: 0.6595 m\nL6 is: 0.5678 m\nL7 is: 0.4889 m\nL8 is: 0.4209 m\nL9 is: 0.3624 m\nL10 is: 0.312 m\nL11 is: 0.2687 m\nelements spacing relation:\nS1 is: 0.3888 m\nS2 is: 0.3348 m\nS3 is: 0.2882 m\nS4 is: 0.2482 m\nS5 is: 0.2137 m\nS6 is: 0.184 m\nS7 is: 0.1584 m\nS8 is: 0.1364 m\nS9 is: 0.1174 m\nS10 is: 0.1011 m\nS11 is: 0.087 m\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.9,PAGE NUMBER 285", "cell_type": "markdown", "metadata": {}}, {"execution_count": 9, "cell_type": "code", "source": "from math import pi,cos,sqrt\n\n\n# Variable Declaration\n\nE_rms = 10 # electric field in mV/m\nE_rms = 10*10 **-3 # electric field in V/m\nf = 2 # frequency in MHz\nf = 2*10 **6 # frequency in Hz\nN = 10 # number of turns\nphi = 0 # angle between the plane of loop and direction of incident wave in Degrees\nS = 1.4 # area of loop antenna in m **2\nc = 3*10 **8 # speed of light in m/s\n\n#calculation\n\nlamda = c/f # wavelength in m\nE_max = sqrt(2)*E_rms # electric field in V/m\nV_rms = (2*pi*E_max*S*N/lamda)*cos(phi) # induced voltage\n\n#Result\n\nprint \"induced voltage is:\",round(V_rms*1000,2),\"mV\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "induced voltage is: 8.29 mV\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.10,PAGE NUMBER 285", "cell_type": "markdown", "metadata": {}}, {"execution_count": 10, "cell_type": "code", "source": "\n# Variable Declaration\n\n\nD = 0.5 # diameter of loop antenna in m\na = D/2 # radius of loop antenna in m\nf = 1 # frequency in MHz\nf = 1*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\n\n#calculation\n\nlamda = c/f # wavelength in m\nRr = 3720*(a/lamda) # radiation resistance of loop antenna in ohm\n\n\n#Results\n\nprint \"radiation resistance of loop antenna is:\",Rr,\"ohm\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "radiation resistance of loop antenna is: 3.1 ohm\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.11,PAGE NUMBER 285-286", "cell_type": "markdown", "metadata": {}}, {"execution_count": 11, "cell_type": "code", "source": "from __future__ import division\nfrom math import pi\n\n# Variable Declaration\n\na = 0.5 # radius of loop antenna in m\nf = 0.9 # frequency in MHz\nf = 0.9*10**6 # frequency in Hz\nc = 3*10**8 # speed of light in m/s\n\n#calculation\n\nlamda = c/f # wavelength in m\nk = (2*pi*a)/lamda # constant\n\n#Results\n\nprint \"the value of k is:\",round(k,2)\nprint \"since,k<1/3\"\nprint \"So Directivity of loop antenna is D = 1.5\"\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "the value of k is: 0.01\nsince,k<1/3\nSo Directivity of loop antenna is D = 1.5\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.13,PAGE NUMBER 286", "cell_type": "markdown", "metadata": {}}, {"execution_count": 12, "cell_type": "code", "source": "from sympy import Symbol\n\n#variable declaration and calculation\n\nLm = Symbol('Lm') # defining Lm as lambda\nd = 1.5*Lm # diameter of antenna in m\na = d/2 # radius of antenna in m\nRr = 3720*(a/Lm) # radiation resistance of loop antenna in ohm\nD = 4.25*(a/Lm) # Directivity of the loop antenna\n\n#results\n\nprint \"radiation resistance of the loop antenna is:\",round(Rr,0),\"ohm\"\nprint \"Directivity of the loop antenna is:\",round(D,4)\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "radiation resistance of the loop antenna is: 2790.0 ohm\nDirectivity of the loop antenna is: 3.1875\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.14,PAGE NUMBER 287", "cell_type": "markdown", "metadata": {}}, {"execution_count": 13, "cell_type": "code", "source": "from math import sqrt,pi\nfrom sympy import Symbol\n\n#Variable declaration\n\nGp = 28 # power gain\n\n#calculations\n\nLm = Symbol('Lm') # defining Lm as lamda\nd = Lm/2 # length of dipole\n\n#formula : Gp = 4*(L/lamda)\n\nL = Gp*Lm/4 # array length\nN = 7*2 # Number of elements in the array when spaced at lamda/2\n\n# formula : B.W = 2*sqrt((2*/N)*(lamda/d))\n\nBW = 2*sqrt(2*Lm/(N*d)) # null-to-null beam width in radians\nBW_d = BW*180/pi # null-to-null beam width in degrees\n\n#Results\n\nprint \"Number of elements in the array when spaced at lamda/2 are:\",N\nprint \"array length(where Lm is wavelength in m) is:\",L,\"m\"\nprint \"null-to-null beam width is:\",round(BW_d,1),\"degrees\"\n\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Number of elements in the array when spaced at lamda/2 are: 14\narray length(where Lm is wavelength in m) is: 7*Lm m\nnull-to-null beam width is: 61.3 degrees\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## EXAMPLE 6.15,PAGE NUMBER 287", "cell_type": "markdown", "metadata": {}}, {"execution_count": 14, "cell_type": "code", "source": "from __future__ import division\nfrom math import pi,sqrt\n\n\n# Variable Declaration\n\nS = 0.05 # spacing in m\nDh = 0.1 # diameter of helical antenna in m\nN = 20 # number of turns\nf = 1000 # frequency in MHz\nf = 1000*10**6 # frequency in MHz\nc = 3*10**8 # speed of light in m/s\n\n\n#calculation\n\n\nlamda = c/f # wavelength in m\nC = pi*Dh # circumfrence of helix in m\nLa = N*S # axial legth in m\nphi_not = (115*(lamda**(3/2))/(C*sqrt(La))) # B.W.F.N., null-to-null beamwidth of main beam in Degreess\nphi = (52*lamda**(3/2)/(C*sqrt(La))) # H.P.B.W, half power beamwidth in Degreess\nD = (15*N*C**2*S/(lamda)**3) # Directivity\n\n#Results\n\nprint \"B.W.F.N., null-to-null beamwidth of main beam is:\",round(phi_not,1),\"degrees\"\nprint \"H.P.B.W, half power beamwidth is:\",round(phi,1),\"degrees\"\nprint \"Directivity is:\",round(D,2)\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "B.W.F.N., null-to-null beamwidth of main beam is: 60.1 degrees\nH.P.B.W, half power beamwidth is: 27.2 degrees\nDirectivity is: 54.83\n"}], "metadata": {"collapsed": false, "trusted": true}}], "nbformat": 4, "metadata": {"kernelspec": {"display_name": "Python 2", "name": "python2", "language": "python"}, "language_info": {"mimetype": "text/x-python", "nbconvert_exporter": "python", "version": "2.7.8", "name": "python", "file_extension": ".py", "pygments_lexer": "ipython2", "codemirror_mode": {"version": 2, "name": "ipython"}}}}