This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 9;
y_correct = (sqrt((x^2)/3))^3;
assert(isequal(your_fcn_name(x),y_correct))
ans =
140.2961
|
2 | Pass |
x = 3;
y_correct = (sqrt((x^2)/3))^3;
assert(isequal(your_fcn_name(x),y_correct))
ans =
5.1962
|
3 | Pass |
x = 2;
y_correct = (sqrt((x^2)/3))^3;
assert(isequal(your_fcn_name(x),y_correct))
ans =
1.5396
|
Project Euler: Problem 1, Multiples of 3 and 5
1492 Solvers
434 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
320 Solvers
247 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!