Mean function

Linear

1 + 2 ( x i 0.5 )

Cosine

cos ( 1 + 2 ( x i 0.5 ) )