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?
    x(t) = \left\{
    1,&\mbox{ if }t = 0\\
    0, & \mbox{ if }{ t }{ does }{ not = 0 }
    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...
    Heh. Or...
    Though that one's kind of cheating since it uses sgn(x). :/
    There are others...
    Last edited: Oct 28, 2005
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook