summaryrefslogtreecommitdiff
path: root/Antenna_and_Wave_Propagation/chapter3.ipynb
blob: c72b3bb732c708b632e29bb7218597c8a800b9aa (plain)
1
{"nbformat_minor": 0, "cells": [{"source": "# Chapter 3 : Radiation and Antennas", "cell_type": "markdown", "metadata": {}}, {"source": "## Example 3.1,Page Number 158", "cell_type": "markdown", "metadata": {}}, {"execution_count": 1, "cell_type": "code", "source": "from __future__ import division\nfrom sympy import Symbol\nfrom math import pi\n\nLm = Symbol(\"Lm'\")# defining Lm as lambda\ndl = Lm/40 # dipole length\nRr = 80*(pi)**(2)*(dl/Lm)**2\nprint \"radiation resistance of dipole in ohm if dl = Lm/40 :\",round(Rr,3)\ndl = Lm/60 # dipole length\nRr = 80*(pi)**(2)*(dl/Lm)**2\nprint \"radiation resistance of dipole in ohm if dl = Lm/60 :\",round(Rr,3)\ndl = Lm/80 # dipole length\nRr = 80*(pi)**(2)*(dl/Lm)**2\nprint \"radiation resistance of dipole in ohm if dl = Lm/80 :\",round(Rr,3)\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "radiation resistance of dipole in ohm if dl = Lm/40 : 0.493\nradiation resistance of dipole in ohm if dl = Lm/60 : 0.219\nradiation resistance of dipole in ohm if dl = Lm/80 : 0.123\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## Example 3.3,Page Number 160", "cell_type": "markdown", "metadata": {}}, {"execution_count": 2, "cell_type": "code", "source": "from __future__ import division\nfrom sympy import Symbol\nfrom math import pi,sqrt\n\n#variable declaration\n\nPr = 1 #power in watt\nEta0 = 120*(pi) # constant\n\n#calculations\nI = sqrt(Pr/73) # current in A\nr = Symbol('r')\nE_max = 60*I/r\nRI = (r**2*E_max**2)/Eta0 # radiation intensity\nGd_max = (4*(pi)*(RI))/Pr\n\n\n#result\nprint \"Directivity of a half wave dipole is:\",round(Gd_max,3)\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Directivity of a half wave dipole is: 1.644\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## Example 3.4,Page Number 160", "cell_type": "markdown", "metadata": {}}, {"execution_count": 3, "cell_type": "code", "source": "#variable declaration\n\nRr=300 # radiation resistance in ohm\nI=3 # in A\n\n#calculations\n#formula: Pr=I**2*R\nPr=I**2*Rr # power radiated in watt\n\n#result\nprint \"power radiated by antenna in watts:\",Pr\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "power radiated by antenna in watts: 2700\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## Example 3.5,Page Number 161", "cell_type": "markdown", "metadata": {}}, {"execution_count": 4, "cell_type": "code", "source": "from __future__ import division\nfrom math import pi\n\n#variable delaration\n\nf = 500 #frequency in mega hertz\nf = 500*10**6 #frequency in hertz\nc = 3*10**8 #speed of light in m/s\nGdmax = 1.644 # directivity of a half wave dipole\n\n\n#calculations\nlamda = c/f #wavelength in meter\nAe = ((lamda)**2*Gdmax)/(4*(pi)) # Effective area in m**2\n\n#result\nprint \"effective area of half wave dipole in m**2:\",round(Ae,3)\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "effective area of half wave dipole in m**2: 0.047\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "## Example 3.6,Page Number 161", "cell_type": "markdown", "metadata": {}}, {"execution_count": 5, "cell_type": "code", "source": "from __future__ import division\nfrom math import pi\n\n#variable delaration\nf = 100 #frequency in Mhz\nf = 100*10**6 #frequency in hertz\nc = 3*10**8 #speed of light in m/s\nD = 1.5 # directivity \n\n#calculations\nlamda = c/f #wavelength in meter\nAe = (lamda**2*D)/(4*(pi)) # effective area in m**2\n\n\n#result\nprint \"Effective area of hertezian dipole in m**2:\",round(Ae,2)\n", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Effective area of hertezian dipole in m**2: 1.07\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"}}}}