summaryrefslogtreecommitdiff
path: root/Principles_Of_Electronic_Communication_Systems/chapter22.ipynb
blob: 2fc3916b469a720f54bbfb72c867fcec8b084879 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:d66b7b0a5ebd4fcdf9eb24f98ae81ac03aa2dcdb229f576b47a170647bd9ea49"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 22 Communication tests and measurments"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 22.1 Page no 854"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "Vp=8                       #volts\n",
      "R=75                       #Ohm\n",
      "\n",
      "#Calculation\n",
      "Vmax=0.707*Vp\n",
      "P=Vmax**2/R\n",
      "\n",
      "#Result\n",
      "print\"Power is dissipated in the load is \",round(P,4),\"Watt\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Power is dissipated in the load is  0.4265 Watt\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 22.2 Page no 857"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "Pf=380.0                     #Watt\n",
      "Pr=40                      #Watt\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "m=math.sqrt(Pr/Pf)\n",
      "SWR=(1+m)/(1-m)\n",
      "print\"SWR= \",round(SWR,2)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "SWR=  1.96\n"
       ]
      }
     ],
     "prompt_number": 8
    }
   ],
   "metadata": {}
  }
 ]
}