Cody

Solution 209615

Submitted on 27 Feb 2013 by Marco Castelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% test 1 x = '3*x'; lower=0; upper=3; y_correct = 0; assert(isequal(myintegrate(x,lower,upper),y_correct))
ans = 0
2   Pass
%% test 2 x = '6*x'; lower=2; upper=6; y_correct = 0; assert(isequal(myintegrate(x,lower,upper),y_correct))
ans = 0
3   Pass
%% test 3 x = '2*x'; lower=0; upper=2; y_correct = 0; assert(isequal(myintegrate(x,lower,upper),y_correct))
ans = 0