Professional Documents
Culture Documents
Solution HW1
Solution HW1
Homework1Solution
Note:thegradedistributionisnexttoeachquestioninred
Problem1[31points]:
a) Theamplitudeofy1=1V
(1)
Theamplitudeofy2=5V
(1)
Theamplitudeofy3=2V
(1)
b) Fory1:
T=0.01250.0025=0.01s
(1)
f=1/T=100HZ
(1)
W=2 f=200 rad/s
(1)
Fory2:
T=(0.01250.0025)/5=0.002s
(1)
f=1/T=500HZ
(1)
W=2 f=1000 rad/s
(1)
Fory3:
T=0.0050.0025=0.0025s
(1)
f=1/T=400HZ
(1)
W=2 f=800 rad/s
(1)
c) Thesecondsignaly2hasthehighestfrequency(500Hz) (1)
d) Att=0.0025y1(t)=1;
(1)forthecalculation
1=1*sin(Phi1+1.5708)
=>Phi1=pi/21.5708=0rad/s
(1)forthecorrectanswerofPhi1inrad/s
Phi1=0*180/pi=0Degrees
(1)forthecorrectanswerofPhi1inDegrees
Y1(t)=1*sin(200*pi*t)att=0=>y1(0)=1*sin(0)=0whichisverifiedfromthevalueofy1(0)fromthe
graphwhichis0.
(1)fortheverification
Att=0.0025y2(t)=5=>5=5sin(2.5pi+Phi2)=>sin(2.5pi+Phi2)=1=>2.5pi+Phi2=pi/2=>
(1)forthecalculation
Phi2=3piwhichisequivalenttopirad/s
(1)forthecorrectanswerofPhi2inrad/s
Phi2=pi*180/pi=180Degrees
(1)forthecorrectanswerofPhi2inDegrees
Y2(t)=5*sin(1000*pi*t+pi)att=0=>y2(0)=5*sin(pi)=0whichisverifiedfromthevalueofy2(0)from
thegraphwhichis0.
(1)fortheverification
Att=0.0025y2(t)=2=>2=2sin(2pi+Phi3)=>sin(2pi+Phi3)=1=>2pi+Phi3=pi/2=>
(1)forthecalculation
Phi3=pi/2rad/s
(1)forthecorrectanswerofPhi2inrad/s
Phi3=pi/2*180/pi=90Degrees
(1)forthecorrectanswerofPhi2inDegrees
Y3(t)=2*sin(800*pi*t+pi/2)att=0=>y3(0)=2*sin(pi/2)=02whichisverifiedfromthevalueofy2(0)
fromthegraphwhichis2.
(1)fortheverification
e) (Total=6)2pointsforeachcolumncorrespondingtoeachsignal
6
5
4
3
2
1
0
100
200
300
Frequency
400
500
Problem2[9points]:
a) Examplenostalgiefrequencyis88.0MHZitiswithintheFMradiorangewhichis88to108MHZ
(1)forthenameofthestation(1)forthefrequencyofthestationand(2)formentioningtherange
b) TotalbandwidthofAMradiois1700530=1170KHZ.Sinceeachstationisassigneda10KHz
bandwidth,totalnumberofstationsthattheAMbandwidthcanafford=1170/10=117stations
(2)forthecorrectnumberand(3)fortheverification
Problem3[25points]:
a) 4x4=16pixels
(2)
b) 2bitsareneededtorepresentthepixelbecausewehave4levelsofgraywhicharerepresented
with2bits(2^2=4levels)
(1)forthenumberofbitsand(1)forverification
Black:00
(2)
Darkgrey:01
(2)
(2)
LightGrey:10
White:11
(2)
2 3 1 1
c) 2 3 3 0
(0.5)foreachcorrectelementinthematrix
3 0 0 3
2 2 3 3
d) 16*2=32bits=4bytes
(5)
Problem4[25points]:
a) 1001010.101=1*2^6+1*2^3+1*2^1+1*2^1+1*2^3=74.625inbase10
(5)onthestepsand(4)ontheanswer
b)
Inbinary111010011.00111010111
(4)ontheanswer
(5)onthesteps
c)
(2)fortheanswerand(2)forthesteps
(2)fortheanswerand(2)forthesteps
d)
1001111102=13Einhex
1110=Einhex
0011=3inhex
0001=1inhex
e)
(4)fortheanswerand(5)forthesteps