1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Looking for a

  1. Oct 28, 2005 #1
    Is the an equation that can satify the following equation with out using any if statements?
    [tex]
    x(t) = \left\{
    \begin{array}{cc}
    1,&\mbox{ if }t = 0\\
    0, & \mbox{ if }{ t }{ does }{ not = 0 }
    \end{array}
    [/tex]
     
    Last edited: Oct 28, 2005
  2. jcsd
  3. Oct 28, 2005 #2
    The Dirac delta function is defined as a limit of functions, and so is not truly a function, but it does satisfy the rules you have imposed above.
     
  4. Oct 28, 2005 #3
    How about...
    [tex]x(t)=\left\lfloor{\frac{1}{t^2+1}}\right\rfloor[/tex]
    Heh. Or...
    [tex]x(t)=1-|sgn(t)|[/tex]
    Though that one's kind of cheating since it uses sgn(x). :/
    There are others...
     
    Last edited: Oct 28, 2005
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Looking for a
  1. Looking for a Book (Replies: 4)

  2. Looking for equations (Replies: 2)

  3. Looking for a formula (Replies: 6)

  4. Looking for a curve (Replies: 4)

Loading...