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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 3 Amplitude modulation-Reception "
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3.1 Page no 120"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# given\n",
"fr=550*10**3 #frequency, Hz\n",
"L=10.0*10**-6 #inductor, H\n",
"fr1=1550*10**3\n",
"\n",
"#calculation \n",
"import math\n",
"a=fr*2*math.pi\n",
"x=fr1*2*math.pi\n",
"b=1/a\n",
"y=1/x\n",
"C1=((b)**2/L)\n",
"C2=((y)**2/L)\n",
"fr2=1100*10**3\n",
"BW=10.0*10**3\n",
"Q=(fr2/BW)\n",
"BW1=(fr1/Q)\n",
"BW2=(fr/Q)\n",
"\n",
"#result\n",
"print\"(a) required range of capacitance is from \",round(C2,12),\"F\",\"to\",round(C1,12),\"F\"\n",
"print\"(b) Q= \",Q\n",
"print\"(c) Bandwidth of receiver at 1550 KHz = \",round(BW1,2),\"Hz\"\n",
"print\"Babdwidth of receiver at 550 KHz = \",BW2,\"Hz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"(a) required range of capacitance is from 1.054e-09 F to 8.374e-09 F\n",
"(b) Q= 110.0\n",
"(c) Bandwidth of receiver at 1550 KHz = 14090.91 Hz\n",
"Babdwidth of receiver at 550 KHz = 5000.0 Hz\n"
]
}
],
"prompt_number": 11
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3.2 Page no 134"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# given\n",
"f=620*10**3 #frequency, Hz\n",
"IF=455*10**3\n",
"\n",
"#calculation\n",
"LO=f+IF\n",
"X=IF+LO\n",
"# image frequency of local oscillator\n",
"#station frequency = 620 kHz\n",
"\n",
"#Result\n",
"print\"LO = Hz\",LO\n",
"print\"X-1075kHz=\",X,\"Hz\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"LO = Hz 1075000\n",
"X-1075kHz= 1530000 Hz\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3.3 Page no 150"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Given\n",
"V=8*10**-6 #microvolts\n",
"R=50 #input resistance, ohm\n",
"\n",
"#Calculation\n",
"import math\n",
"P=(V**2)/R\n",
"dBm=10*math.log10(P/0.001)\n",
"dBW=10*math.log10(P/1)\n",
"a=(-89+8+3+24+26+26-2+34)\n",
"x=(a/10)\n",
"y=10**x\n",
"z=y*0.001\n",
"\n",
"#Result\n",
"print\"input power is= \",P,\"W\" \n",
"print\"dBm = \",round(dBm,0),\"dBm\"\n",
"print\"dBW = \",round(dBW,0),\"dBw\"\n",
"print\"Pout(dBm) =\",a,\" dBm into speaker\"\n",
"print\"Pout(dBW) =\",z,\"W\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"input power is= 1.28e-12 W\n",
"dBm = -89.0 dBm\n",
"dBW = -119.0 dBw\n",
"Pout(dBm) = 30 dBm into speaker\n",
"Pout(dBW) = 1.0 W\n"
]
}
],
"prompt_number": 14
}
],
"metadata": {}
}
]
}
|