function homeworkf= @(x) 3*x^5+7*sind(x)^2;fd= @(x) 15*x^4+7*sind(2*x)^2+3*x^5+7*sind(x)^2;a=-1;b=3;n=5;e=1.1*10^3;s=(fd(a)+fd(b));for i=1:1:n-1 h=(b-a)/i; s=s+2*fd(i); I=(h/2).*s error=I-eendend
the problem is ı have values but try everything for plotting but see nothing even there is no line or spline .
Best Answer