2*sin(pi*(x - 1)/2) + 5