you should ease up numerically on equality, so my solution works :)
The polar inertia is the sum of the squared distances of all points from the origin. https://en.wikipedia.org/wiki/Polar_moment_of_inertia
4603 Solvers
Sum all integers from 1 to 2^n
8448 Solvers
165 Solvers
348 Solvers
Generate a string like abbcccddddeeeee
234 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!