MAT2630 Numerical Methods, FA2015

You are viewing all docs.

Title
HW21

%prob 5.1.1 df=inline(‘log(1+h)/h’) out=[]; for i=1:16 out=[out;i 10^-i df(10^-i) df(10^-i)-1]; end format long disp(‘ i h=10^-i df(h) error’) disp(out) %prob […]

Author: Author
HW20

% problem 3.5.5 a=[0 3 -3 0;2 0 -3 2]; syms t; T=[1 t t^2 t^3]; B1=a*T.’; B2=a*T.’-[0;1]; set(groot,’defaultAxesColorOrder’,[0 0 […]

Author: Author
Viewing 1-2 of 2 docs