%demo function #1 for chapter 2
function [F] = derivfun1(x)
%demo function from lecture
%F=sin(x)+x*cos(x);
%demo fun derivative from turner Ch 2
F = 9*x^2 - 10*x -4;
%F = 2*x+1;
return