This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 0:pi/10:2*pi;
y = sin(x);
z_correct = 1;
assert(isequal(find_max(x, y),z_correct))
z =
1
|
2 | Pass |
x = 0:pi/10:2*pi;
y = sqrt(x);
z_correct = sqrt(2*pi);
assert(isequal(find_max(x, y),z_correct))
z =
2.5066
|
3 | Pass |
x = -10:1:0;
y = x.*x;
z_correct = 100;
assert(isequal(find_max(x, y),z_correct))
z =
100
|
1208 Solvers
451 Solvers
Back to basics 23 - Triangular matrix
532 Solvers
424 Solvers
261 Solvers