Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi , im not prety sure about this calculation
From magnitude response H(w) = |(cos w- cos 3w)+j(sin3w-sinw)|
How to become this answer? =2√sin²w=2|sinw|
how about getting phase respones?
nomnom,
Lots more algebra if you want to consider the term within the ||.
Orthogonal component divided by real is (sin(3*w)-sin(w))/(cos(w)-cos(3*w)) .
Expanding we get 4*sin(w)*cos(w)^2/(4*cos(w)-4*cos(w)^3)-2*sin(w)/(4*cos(w)-4*cos(w)^3) .
Notice the common denominator 4*cos(w)-4*cos(w)^3 . Simplfying, we get (1/2)*(2*cos(w)^2-1)/(sin(w)*cos(w)) .
Which, by the double angle trigonometric identities, is cos(2w)/sin(2w) = cotan(2w) .
Taking the atan of cotan(2w) we get 1/2w for the phase.
Ratch
Just curious, why did you ask him if he saw any phase shift if you were intending to calculate it later?
Also, when we do phase calculations for transfer functions like this we have to use the two argument inverse tangent function we cant use the single argument version. This two argument function takes into consideration the signs of both the real and imaginary parts which of course leads to a different phase shift than 1/2w for various angles. Try again using this two argument function and see what a difference it makes.
The phase shift, any way you care to do it, should always come out to be:
TH(w)=atan2(IP,RP)
where you'll note the atan2() function which unlike atan() takes 2 arguments not just 1.
nomnom,
Lots more algebra if you want to consider the term within the ||.
Orthogonal component divided by real is (sin(3*w)-sin(w))/(cos(w)-cos(3*w)) .
Expanding we get 4*sin(w)*cos(w)^2/(4*cos(w)-4*cos(w)^3)-2*sin(w)/(4*cos(w)-4*cos(w)^3) .
Notice the common denominator 4*cos(w)-4*cos(w)^3 . Simplfying, we get (1/2)*(2*cos(w)^2-1)/(sin(w)*cos(w)) .
Which, by the double angle trigonometric identities, is cos(2w)/sin(2w) = cotan(2w) .
Taking the atan of cotan(2w) we get 1/2w for the phase.
Ratch
MrAl,
Because I knew there was no phase shift for |H(w)|. Now if he asked for H(w), then would have calculated the phase shift without your suggestion.
My equation solver does not have the atan2 function. I would have to define an atan2 function from atan. In this problem, however, w is always in the first quadrant if w > 0, and the phase approaches zero as w becomes larger.
Ratch
Here is a closed form solution for the phase shift which uses the standard atan() function:
TH=2*atan((sin(3*t)-sin(t))/(cos(t)-cos(3*t)+sqrt(2-2*cos(2*t))))
There is also a piecewise linear solution that doesnt involve any trig functions (if you care to define the limit points) and there may be other solutions too.
BTW did you take the time to graph the phase angle? It's quite a cool plot and shows immediately how a piecewise linear solution could be built up.
If he's still around i guess we can move on to his next question. Care to start?