Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. What's the period of (cos ax)(sin bx)?

What's the period of (cos ax)(sin bx)?

Scheduled Pinned Locked Moved Algorithms
question
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sherifffruitfly
    wrote on last edited by
    #1

    For 0 < a, b < 1, if it makes a difference. Thanks!

    C M C 3 Replies Last reply
    0
    • S sherifffruitfly

      For 0 < a, b < 1, if it makes a difference. Thanks!

      C Offline
      C Offline
      cp9876
      wrote on last edited by
      #2

      It is only periodic is a/b is rational and then it is fairly easy to work out.

      Peter "Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

      1 Reply Last reply
      0
      • S sherifffruitfly

        For 0 < a, b < 1, if it makes a difference. Thanks!

        M Offline
        M Offline
        MarkB777
        wrote on last edited by
        #3

        If you consider the wave form: y(t) = A*sin(w*t + q) A is the amplitude of the wave (height up the y axis) q is the phase shift of the wave (left/right shift along the x axis) t is a variable w is the angular frequency Angular frequency equals to 2*PI*f -> where f is the frequency of the wave. The period of the wave (t) is 1/f. (t = 1/f) A Cosine wave is just a Sine wave with a 90 degree phase shift. Cheers,

        Mark Brock Click here to view my blog

        1 Reply Last reply
        0
        • S sherifffruitfly

          For 0 < a, b < 1, if it makes a difference. Thanks!

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Since cos(ax) sin(bx) = 1/2 sin((a+b)x) + 1/2 cos((a-b)x) should be (a+b)/(a-b) rationale. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups