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
|
{
"metadata": {
"name": "",
"signature": "sha256:7baac9edb2128ede2f66bcc8790788a8e9bd4ebfa3d83c78364ed1ad1c37e3be"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"CHAPTER03:AMPLITUDE"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E07 : Pg 3.14"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Page Number: 3.14\n",
"# Example 3.7\n",
"# Given\n",
"# (a)efficiency=((u**2)/(2+(u**2)))\n",
"u=0.5;\n",
"n=((u**2.)/(2.+(u**2.)));\n",
"np=n*100.;\n",
"print\"Efficiney: \",round(np,2),\"%\"\n",
"\n",
"# (b)nmax,\n",
"# nmax occurs at u=1;\n",
"u1=1.;\n",
"nmax=((u1**2.)/(2.+(u1**2.)));\n",
"nmaxp=nmax*100.;\n",
"print\"Efficiney max: \",nmaxp,\"%\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Efficiney: 11.11 %\n",
"Efficiney max: 33.3333333333 %\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E08 : Pg 3.14"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Page Number: 3.14\n",
"# Example 3.8\n",
"# Given\n",
"# From waveform\n",
"Amax=150.;\n",
"Amin=30.;\n",
"\n",
"# (a)Modulation index\n",
"u=((Amax-Amin)/(Amax+Amin));\n",
"print\"Modulation Index: \",round(u,2)\n",
"\n",
"Ac=(Amax/(1.+u));\n",
"# (b)\n",
"# Carrier Power\n",
"Pc=(Ac**2.)/2.;\n",
"print\"Carrier Power: \",round(Pc,2),\"W\"\n",
"\n",
"# Side band Power\n",
"PSB=(Amin**2.)/2.;\n",
"print\"USB=LSB Power: \",round(PSB,2),\"W\"\n",
"\n",
"# Total Average power\n",
"Pt=Pc+(2.*PSB);\n",
"print\"Total Average Power: \",round(Pt,2),\"W\"\n",
"\n",
"# (c)Peak Envelope Power\n",
"# Given\n",
"R=60; # Ohm\n",
"PEP=(Amax**2)/(2*R);\n",
"print\"Peak Envelope Power: \",round(PEP),\"W\"\n",
"\n",
"# (d) Modulation Efficieny\n",
"n=PSB/Pt;\n",
"print\"Modulation efficieny: \",round(n,2)\n",
"\n",
"# (e) Given\n",
"# (i) u=0.2\n",
"u1=0.2;\n",
"A1=(60./u1)-Ac;\n",
"print\"A=\",round(A1)\n",
"\n",
"# (ii) u=0.8\n",
"u2=0.8;\n",
"A2=(60./u2)-Ac;\n",
"print \"A=\",round(A2)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Modulation Index: 0.67\n",
"Carrier Power: 4050.0 W\n",
"USB=LSB Power: 450.0 W\n",
"Total Average Power: 4950.0 W\n",
"Peak Envelope Power: 188.0 W\n",
"Modulation efficieny: 0.09\n",
"A= 210.0\n",
"A= -15.0\n"
]
}
],
"prompt_number": 2
}
],
"metadata": {}
}
]
}
|