Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Looking for function

  1. Mar 4, 2012 #1
    1. The problem statement, all variables and given/known data
    I need to get a general function in 2 variables f(m,n). You can see a graphicon with charasteristic points:
    In the first example m=2 (m is period).
    https://www.physicsforums.com/attachm...1&d=1329945735 [Broken]
    In the next example m=3:
    https://www.physicsforums.com/attachm...1&d=1329945822 [Broken]
    For m=4:
    https://www.physicsforums.com/attachm...1&d=1329945902 [Broken]
    and so on.

    The task is to find a general function f(m,n) with these terms:
    The function has to be periodic.
    The function has to include those blue and red points in each example.
    The value of the function has to be f(m,n) =1 ONLY in blue points, and the value of the function has to be f(m,n)=0 ONLY in red points.

    The look of the function isn't important as long as it complies with previous terms.




    2. Relevant equations
    see above


    3. The attempt at a solution
    try to use absolute, trigonometric functions
     
    Last edited by a moderator: May 5, 2017
  2. jcsd
  3. Mar 4, 2012 #2
    Your attachments don't seem to be working.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook