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 |
s = pi;
a = pi^2;
y_correct = 2*pi^4 + pi^3;
assert(abs(paperneed(s,a)-y_correct)<1e-12)
|
The Hitchhiker's Guide to MATLAB
2696 Solvers
Is my wife right? Now with even more wrong husband
1145 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
385 Solvers
247 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
231 Solvers