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 |
%%sum of first 'n' terms
n = 10;
y = 55;
assert(isequal(summation(n),y))
%%sum of first 'n' terms
n = 0;
y = 0;
assert(isequal(summation(n),y))
%%sum of first 'n' terms
n = 17;
y = 153;
assert(isequal(summation(n),y))
|
36319 Solvers
Find the numeric mean of the prime numbers in a matrix.
5908 Solvers
322 Solvers
119 Solvers
377 Solvers