According to the question:
and feasible region OABC.
The corner points of the feasible region are
.
On evaluating the value of Z, we get
From the above table it’s seen that the maximum value of Z is
.
Therefore, the maximum value of the function Z is
at
.