What is the sum of the following sequence:
Σ(-1)^(k+1) (2k-1)^2 for k=1...n
for different n?
Additional test cases have been added.
Please check your test suites, results must have opposite signs.
Thanks! The problem now is reformulated;)
middleAsColumn: Return all but first and last element as a column vector
317 Solvers
196 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
230 Solvers
281 Solvers
Matrix of almost all zeros, except for main diagonal
124 Solvers