f=@(x)x.^3.*cos(x)-log(x);
vastusSimpson=quadv(f,1,2)
%teeme 2 vektorit
x=1:1e-2:2;
y=f(x);
vastustrapets=trapz(x,y)