i = 1 (slider from 0.001 to 5)
C = 0.6 (slider from 0 to 1)
E(x) = 1 + (C * cos(((2 * π) * x / i)))