Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 0:0.01:pi;
y = sin(x);
y_correct = 1.57;
assert(abs(argmax(x,y) - y_correct) < 0.01 )
|
2 | Pass |
x = 0:0.01:pi;
y = x.^2;
y_correct = 3.14;
assert(abs(argmax(x,y) - y_correct) < 0.01 )
|
3 | Pass |
x = 0:0.01:pi;
y = -(x-.42).^2;
y_correct = .42;
assert(abs(argmax(x,y) - y_correct) < 0.01 )
|
4 | Pass |
x = -100:0;
y = -cosh(x+3);
y_correct = -3;
assert(abs(argmax(x,y) - y_correct) < 0.01 )
|
Project Euler: Problem 1, Multiples of 3 and 5
1064 Solvers
Project Euler: Problem 7, Nth prime
341 Solvers
179 Solvers
Find the area of a rectangle if length of the diagonal is given.
96 Solvers
Delete 2nd and 5th column of Given 6*6 matrix
93 Solvers