function [ df ] = myfunc3dfdx( x ) % MYFUNC3DFDX: Compute df(x)/dx = (d/dx) (x - 3)^3 - 2 = 2x - 6... df = 2*x - 6;