Results 1 to 5 of 5

Math Help - cos2x

  1. #1
    Newbie
    Joined
    Feb 2010
    Posts
    2

    cos2x

    Hello,

    So I want to evaluate cos(2x) in c. Using Trigonometric Identities:

    cos(2x) = cos^2(x) - sin^2(x) = 2 cos^2(x) - 1 = 1 - 2 sin^2(x)

    Where:

    cos(2x) = 1 - 2 sin^2(x)

    However:

    sin^2(x) = 1/2 - 1/2 cos(2x)

    So is this like the chicken and the egg?

    Using sin^2(x) to evaluate cos(2x) which needs sin^2(x). I only have access to the basic functions cos, sin etc and I was hoping to evaluate cos(2x) using a combination of these.

    Or is cos(2x) simply the cosine of twice the angle. I have only recently returned from a long hiatus from the world of mathematics so please forgive me if the solution is glaringly obvious. Any help would be greatly appreciated.

    Cheers,

    Lloyd.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Banned
    Joined
    Oct 2009
    Posts
    4,261
    Quote Originally Posted by Lloyd78 View Post
    Hello,

    So I want to evaluate cos(2x) in c. Using Trigonometric Identities:

    cos(2x) = cos^2(x) - sin^2(x) = 2 cos^2(x) - 1 = 1 - 2 sin^2(x)

    Where:

    cos(2x) = 1 - 2 sin^2(x)

    However:

    sin^2(x) = 1/2 - 1/2 cos(2x)

    So is this like the chicken and the egg?

    Using sin^2(x) to evaluate cos(2x) which needs sin^2(x). I only have access to the basic functions cos, sin etc and I was hoping to evaluate cos(2x) using a combination of these.

    Or is cos(2x) simply the cosine of twice the angle. I have only recently returned from a long hiatus from the world of mathematics so please forgive me if the solution is glaringly obvious. Any help would be greatly appreciated.

    Cheers,

    Lloyd.

    I don't understand what's the problem: \sin^2x is a basic function raised to the second power!
    And yes: \cos 2x is just the value of cosine of twice the angle x.
    Mathematics is a jealous lover: if you keep away from it a long time it gets its revenge by making your life tough when you want to come back to it.

    Tonio
    Follow Math Help Forum on Facebook and Google+

  3. #3
    -1
    e^(i*pi)'s Avatar
    Joined
    Feb 2009
    From
    West Midlands, England
    Posts
    3,053
    Thanks
    1
    Quote Originally Posted by Lloyd78 View Post

    Or is cos(2x) simply the cosine of twice the angle.
    Lloyd.
    Bingo!

    \cos(2x) = \cos(x+x)

    Of course to evaluate it it will need to be equal to something


    If you're doing calculus (as the forum would imply you are) then it's nearly always easier to manipulate \cos(2x) than 1-2\sin ^2(x) or  2 \cos ^2(x) - 1
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor

    Joined
    Apr 2005
    Posts
    14,971
    Thanks
    1121
    What do you mean by "evaluate cos(2x) in c"? In particular, what is "c"?

    The programming language? Since C has sine and cosine functions just "cos(2*x)" is simplest.

    The complex numbers? cos(x)= \frac{e^{ix}+ e^{-ix}}{2}
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Feb 2010
    Posts
    2
    Cheers guys!

    Yeah the programming language c. Had a feeling I might be asking the obvious. Being the cosine of twice the angle does make life a lot easier. Hangs head...

    Thanks again!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. modulus of -cos2x
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: July 30th 2010, 06:11 AM
  2. New problem: 2cos^2 2x = cos2x + 1
    Posted in the Trigonometry Forum
    Replies: 4
    Last Post: March 18th 2010, 04:43 AM
  3. Cos2x?`
    Posted in the Trigonometry Forum
    Replies: 4
    Last Post: September 21st 2009, 09:00 PM
  4. Y=X^(2)e^(cos2x) Find Y'
    Posted in the Calculus Forum
    Replies: 4
    Last Post: August 22nd 2009, 06:52 PM
  5. [SOLVED] Value of sin2x and cos2x when tanx=5/3
    Posted in the Trigonometry Forum
    Replies: 11
    Last Post: July 3rd 2009, 06:07 AM

Search Tags


/mathhelpforum @mathhelpforum