I see you check against the test values to see how much of the irrational you could somehow snip while still satisficing. Intentional brevity is quite admirable.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!