Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. function jackInTheBox(time)
  2. y = amplitude * math.cos(frequency * time * 2 * math.pi) / math.exp(decay * time)
  3. return y end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement