Problem 44554. The maximum sum of squares
Solution Stats
Problem Comments
-
2 Comments
Hi, DP. You have created a nice problem here: well done. Could you please clarify/check/amend one detail though. In the Problem Statement it stipulates the sum must be that "less than" maxval. So if maxval=1, then the series would have no terms (hence sum=0); alternatively, if it had one term, then the sum (1²=1) would be "less than or equal to" maxval, as implied in the Test Suite. Thanks, DIV
Thanks for the clarification!
Solution Comments
Show commentsProblem Recent Solvers41
Suggested Problems
-
Return elements unique to either input
761 Solvers
-
365 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
797 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
371 Solvers
-
Speed of car travelling x meters in y seconds
117 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!