The Knapsack Max Profit
<p>There are 4 items: A weights 2LB has profit $40, B weights 5LB has profit $30, C weights 10LB has profit $50, and D weights 5LB has profit $10. Compute the maximum total profit you can take from any of the 4 items with a knapsack weight 16LB. You cannot take any portions of an item but the whole.</p>

<p>Please show how can the above problem be solved using knapsack problem approach.</p>