function [ f ] = myfunc3( x ) % MYFUNC3: Compute f(x) = (x - 3)^3 - 2 f = (x-3)*(x-3)-2;