Professional Documents
Culture Documents
Engineering Science 204: Machine Exercise No. 6
Engineering Science 204: Machine Exercise No. 6
INPUT:
Initial value of h .
OUTPUT:
Graph of error vs h .
SOLUTION:
hh=logspace(-1,-10,30);
%where x0=0
x0=0;
val=df(x0);