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
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter17 Telephone Systems"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 17.1.1,Pg.no.641"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"a)The max gain is 44.0 dB\n",
"b)The max gain is 30 dB\n",
"c)The amplr gain is 27.0 dB\n"
]
}
],
"source": [
"import math\n",
"FTL=50\n",
"M=12\n",
"NFL=2*FTL\n",
"NFLG=(NFL-M)\n",
"G_max1=NFLG/2\n",
"G_max1=round(G_max1,1)\n",
"print 'a)The max gain is',G_max1,'dB' \n",
"#b) Determination of max gain2 \n",
"IL=3\n",
"RLW=20\n",
"RLE=40\n",
"NL=(4*IL)+RLW+RLE\n",
"NLG=(NL-M)\n",
"G_max2=NLG/2\n",
"print 'b)The max gain is',G_max2,'dB' \n",
"#c ) Determination of amplr gain\n",
"LT=15.0\n",
"OM=6.0\n",
"OLW=(RLW-LT)/2\n",
"OLE=(RLE-LT)/2\n",
"A=OM+OLW+OLE+(2*IL)\n",
"print 'c)The amplr gain is',A,'dB'"
]
}
],
"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.10"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|