Cut a rod into pieces to earn the most, from a table of the best revenue for every shorter length.
This interactive visualization needs JavaScript.