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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 4 single-sideband communication"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.1 Page no 172"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"x=1*10**6 #DSB range\n",
"y=10**(80/20.0)\n",
"\n",
"#calculation\n",
"import math\n",
"z=math.sqrt(y)\n",
"df=200.0\n",
"Q=(x*z)/(4.0*df)\n",
"a=100*10**3\n",
"Q1=(a*z)/(4.0*df)\n",
"\n",
"\n",
"#result\n",
"print\"(a) Q for 1MHz = \",Q\n",
"print\"(b) Q for 100KHz = \",Q1"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"(a) Q for 1MHz = 125000.0\n",
"(b) Q for 100KHz = 12500.0\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.2 Page no 178"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"a=3*10**6\n",
"b=3.1*10**6 #new DSB signal range\n",
"c=2.9*10**6 #new DSB signal range\n",
"\n",
"#calculation\n",
"Q=(a/(b-c))\n",
"\n",
"#result\n",
"print\"the required filter Q is = \",Q"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"the required filter Q is = 15.0\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.4 Page no 187"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"a=455\n",
"x=2000+1 #frequency\n",
"y=2000+3 #frequency\n",
"\n",
"#calculation\n",
"c=2000+a #local oscillator value\n",
"d=c-x\n",
"e=c-y\n",
"f=a-454\n",
"g=a-452\n",
"\n",
"#result\n",
"print\"RF =\",x,\"KHz\", \"at which first mixer input=\" ,y,\"kHz\"\n",
"print\"local oscillator value is \",c,\"KHz\"\n",
"print\"First mixer output is\",d,\"to\",e,\"KHz\" #IF amp and second mixer input\n",
"print\"BFO = \",a,\"KHz\"\n",
"print\"Second mixer output is\",f,\"KHz\", \"and audio amplifier value is =\",g, \"kHz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"RF = 2001 KHz at which first mixer input= 2003 kHz\n",
"local oscillator value is 2455 KHz\n",
"First mixer output is 454 to 452 KHz\n",
"BFO = 455 KHz\n",
"Second mixer output is 1 KHz and audio amplifier value is = 3 kHz\n"
]
}
],
"prompt_number": 8
}
],
"metadata": {}
}
]
}
|