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))
|
2 | Pass |
%% test 2
x = '6*x';
lower=2; upper=6;
y_correct = 0;
assert(isequal(myintegrate(x,lower,upper),y_correct))
|
3 | Pass |
%% test 3
x = '2*x';
lower=0; upper=2;
y_correct = 0;
assert(isequal(myintegrate(x,lower,upper),y_correct))
|
4598 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
1882 Solvers
Back to basics 12 - Input Arguments
525 Solvers
203 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!