-
2 Comments
durga sadasivuni
on 9 Jun 2018
My solution is failing,please help me out
J. S. Kowontan
on 9 Jun 2018
1. You used the wrong formula for the sum of the squares of the the first x natural numbers. 2. Also, your implementation of the square of the sum of the first x natural number is incorrect. 3. Finally, You are to subtract (1) from (2) not the other way round.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!