Given: Z = 5x + 7y and feasible region OABC.
The corner points of the feasible region are O(0, 0), A(7, 0), B(3, 4) and C(0, 2).
On evaluating the value of Z, we get
From the above table it’s seen that the maximum value of Z is 43.
Therefore, the maximum value of the function Z is 43 at (3, 4).