Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 9;
assert(isequal(y_fun_1(x),y_correct))
|
2 | Pass |
x = 3;
y_correct = 67;
assert(isequal(y_fun_1(x),y_correct))
|
3 | Pass |
x = 3.2;
y_correct = 75.440000000000010;
assert(isequal(y_fun_1(x),y_correct))
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
284 Solvers
390 Solvers
Area of an equilateral triangle
2763 Solvers
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!