% we want to find the zero of this function

function f = functionToZero(x)

f = x^3 - 2;