f(x) = sin(5.0 * x)
g(x) = sin(0.5 * x)