Machine Problem 4
Machine Problem 4
Machine Problem #4
OBJECTIVES
● To familiarize the students with the Matlab interface.
● To enable the students to use some basic commands.
MACHINE PROBLEM
You found two things at Mapua! The first item weighs weight1 and is worth value1, and the
second item weighs weight2 and is worth value2. What is the total maximum value of
the items you can take with you, assuming that your max weight capacity is maxW and you
can't come back for the items later?
Test Data: