a = 1 (slider from 0 to 5, step 0.1)
w = 15.9 (slider from 0 to 30, step 0.1)
f(t) = a * sin(w * t)
A(w) = 0.45 * a / (((w / 16.5)^(2) - 1)^(2) + (0.8 / 16.5)^(2))^(0.5)
P(w) = atan(0.8 / 16.5 * w / (1 - (w / 16.8)^(2)))
g(t) = A(w) * sin(w * t + P(w))