f1(x) = cos(5 * x) + 1
f2(x) = cos(x - π / 4) + 2
f3(x) = 2 * cos(3 * (x - π / 4)) + 0.5
f4(x) = 2 * sin(x - π / 3)