hkBattousai
- 64
- 0
a.cos(wt) + b.sin(wt) = M.cos(wt + ϕ)
Can you give me M and ϕ in terms of a and b?
Can you give me M and ϕ in terms of a and b?
No.hkBattousai said:The final representation was something like
M = sqrt(a^2 + b^2)
and
ϕ = arctan(-b/a)
but I'm no sure.
Can anyone confirm it for me?
M.cos(wt + ϕ) = a.cos(wt) + b.sin(wt)
cos(wt + ϕ) = (a/M).cos(wt) + (b/M).sin(wt)...(I)
cos(wt + ϕ) = cos(wt).cos(ϕ) - sin(wt).sin(ϕ)...(II)
From (I) and (II),
cos(ϕ) = (a/M)
sin(ϕ) = -(b/M)
cos^2(ϕ) + sin^2(ϕ) = (a^2 + b^2)/(M^2) = 1
We assume that M is always positive and we keep any negativity in the phase angle ϕ,
M = sqrt(a^2 + b^2)
sin(ϕ)/cos(ϕ) = tan(ϕ) = -(b/M)/(a/M) = -b/a
tan(ϕ) = -b/a ==> ϕ = arctan(-b/a)
hkBattousai said:Code:M.cos(wt + ϕ) = a.cos(wt) + b.sin(wt) cos(wt + ϕ) = (a/M).cos(wt) + (b/M).sin(wt)...(I) cos(wt + ϕ) = cos(wt).cos(ϕ) - sin(wt).sin(ϕ)...(II) From (I) and (II), cos(ϕ) = (a/M) sin(ϕ) = -(b/M) cos^2(ϕ) + sin^2(ϕ) = (a^2 + b^2)/(M^2) = 1 We assume that M is always positive and we keep any negativity in the phase angle ϕ, M = sqrt(a^2 + b^2) sin(ϕ)/cos(ϕ) = tan(ϕ) = -(b/M)/(a/M) = -b/a tan(ϕ) = -b/a ==> ϕ = arctan(-b/a)
Is there anything wrong in my derivation?
hkBattousai said:I liked your way of "you must do it yourself if you want to success"... :)
Landau said:You could also do the following:
t=0 gives a=M cos(ϕ),
t=pi/(2w) gives b=-M sin(ϕ).
Hence
a^2+b^2=M^2,
tan(ϕ)=-b/a.