Date: 21 May 2015

y = x³ - 3x + 1

y = x² + 2x + 2

y = f(x)

y=f(x)

g(x) = x^(3) - 3 * x - 1
h(x) = x^(2) + 2 * x + 2
f_1(x) = (g(x) + h(x)) / 2
f(x) = f_1(x) + cos(1 / (g(x) - h(x))) * (g(x) - f_1(x))
f_2(x) = f_1(x) + cos(g(x) - h(x)) * (g(x) - f_1(x))