Here is a formula from page 2 (!) of my hearing science textbook:
d(t)=A sin [2pi square root(s/m)t + starting phase]
That’s right…my computer doesn’t even have symbols for some of those things so I had to write them out in words.
I may be in trouble this semester…