summaryrefslogtreecommitdiff
path: root/Antenna_and_Wave_Propagation_by_S._Wali/chapter11.ipynb
blob: d4c2c36c27114361f0740e3cded50938c3cf1015 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:3b7be046ef74bb4eda8d19b127e9471df469da2a70e7c694126d716d811cee71"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter11, Microstrip Antennas"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example No. 11.9.1, page : 11-18"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from math import sqrt\n",
      "from __future__ import division\n",
      "fr=10 #GHz(center frequency)\n",
      "fr=fr*10**9 #Hz(center frequency)\n",
      "epsilon_r=10.2 #(constant)\n",
      "h=0.127 #cm(height of sustrate)\n",
      "c=3*10**10 #cm/s(Speed of light)\n",
      "W=c/2/fr*sqrt(2/(epsilon_r+1)) #cm(Physical dimension)\n",
      "epsilon_reff=(epsilon_r+1)/2+(epsilon_r-1)/2*(1+12*h/W)**(-1/2) #(effective constant)\n",
      "delta_L=h*0.412*(epsilon_reff+0.3)*(W/h+0.264)/((epsilon_reff-0.258)*(W/h+0.8)) #cm(distance)\n",
      "L=c/2/fr/sqrt(epsilon_reff)-2*delta_L #cm(distance)\n",
      "print \"Design values of W & L are : %0.3f & %0.4f cm \"%(W,L) "
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Design values of W & L are : 0.634 & 0.4255 cm \n"
       ]
      }
     ],
     "prompt_number": 5
    }
   ],
   "metadata": {}
  }
 ]
}