summaryrefslogtreecommitdiff
path: root/Electronic_Communication_Systems_by_Roy_Blake/Chapter22.ipynb
blob: 1bfbf9a01f92dd174711acc8c499076e0b238bce (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
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Chapter 22 : Personal Communication Systems"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example 1 : pg 842"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The mobile transmitted power in dBm is 24 dBm\n",
      "Case 2 : The mobile transmitted power is 100 mW\n"
     ]
    }
   ],
   "source": [
    " \n",
    "# page no 842\n",
    "# prob no 22.1\n",
    "#calculate the mobile transmitted power\n",
    "#given\n",
    "PR = -100;#In dBm\n",
    "#calculations and results\n",
    "# The mobile transmitted power is\n",
    "PT_dBm =-76-PR;#this is in dBm\n",
    "print 'The mobile transmitted power in dBm is',PT_dBm,'dBm'\n",
    "PT_mW =10**(PT_dBm/10);\n",
    "print 'Case 2 : The mobile transmitted power is',PT_mW,'mW'"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}