| Thread Closed |
Representing sum of cosine and sine as a single cosine expression |
Share Thread | Thread Tools |
| Jul12-10, 10:57 AM | #1 |
|
|
Representing sum of cosine and sine as a single cosine expression
a.cos(wt) + b.sin(wt) = M.cos(wt + ϕ)
Can you give me M and ϕ in terms of a and b? |
| Jul12-10, 11:47 AM | #2 |
|
|
cos(u+v)=cos(u)cos(v)-sin(u)sin(v)
That 's all you need. |
| Jul12-10, 11:51 AM | #3 |
|
|
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? |
| Jul12-10, 12:24 PM | #4 |
|
|
Representing sum of cosine and sine as a single cosine expressionTry to do it for yourself, and we can correct whatever mistakes you make. |
| Jul12-10, 12:49 PM | #5 |
|
|
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) |
| Jul12-10, 12:53 PM | #6 |
|
|
|
| Jul12-10, 12:55 PM | #7 |
|
|
I liked your way of "you must do it yourself if you want to success"... :)
|
| Jul12-10, 01:11 PM | #8 |
|
|
|
| Jul12-10, 01:15 PM | #9 |
|
|
Yeah, either I don't like the ones who ask a big problem and wait for others to solve it for him.
In my question, this is a simple trigonometric identity, I expected a mathematician to write it for me since most of math guys have memorized and actively use these kind of identities. |
| Jul13-10, 02:43 AM | #10 |
|
|
http://www.electro-tech-online.com/m...tml#post895294
Final expression for vL(t) greatly simplified by this trigonometric identity. |
| Jul13-10, 05:18 AM | #11 |
|
Recognitions:
|
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. |
| Jul13-10, 05:20 AM | #12 |
|
|
|
| Thread Closed |
| Tags |
| cosine, identity, sine, trigonometric, trigonometry |
| Thread Tools | |
Similar Threads for: Representing sum of cosine and sine as a single cosine expression
|
||||
| Thread | Forum | Replies | ||
| Sine and cosine | General Math | 5 | ||
| getting a sine/cosine | Electrical Engineering | 1 | ||
| Sine/Cosine | Introductory Physics Homework | 7 | ||
| Sine and Cosine | Calculus & Beyond Homework | 1 | ||
| sine and cosine | General Math | 4 | ||