Hello, Erin. It's a really interesting problem. According to Solution 1539769, I think it would be worthwhile for you to include some (small) tolerances within the assert statements in your Test Suite, to allow for rounding due to computations in 'double precision'. —DIV
I agree with David.
687 Solvers
594 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
319 Solvers
331 Solvers
Side of an equilateral triangle
2604 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!