Solution 1006462

Submitted on 10 Oct 2016 by deoksu kim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x=0:0.01:1; y=x.^2; z_correct = trapz(x,y) assert(isequal(your_fcn_name(x),z_correct))

z_correct = 0.3333 z = 0.3333