Solution:
Key idea: The feasible region of a linear programming problem is the set of points that satisfy every constraint. If it is bounded, the maximum and the minimum of the objective function Z occur at corner points, so we find every corner point and compare the values of Z there.
Step 1 — Define the variables.
Let Raunak stock and sell x electronic machines and y manually operated machines. These are whole numbers with x≥0 and y≥0.
Step 2 — Write the objective function.
The profit is ₹ 22 on an electronic machine and ₹ 18 on a manual machine. We call the total profit ₹ Z and maximise it.
Z=22x+18y
Step 3 — Write the constraints.
An electronic machine costs him ₹ 360 and a manual one ₹ 240, and his capital is ₹ 5,760.
360x+240y≤5760
We divide both sides by 120.
3x+2y≤48
The godown holds at most 20 machines.
x+y≤20
Step 4 — Draw the boundary lines and shade the feasible region.
We draw each boundary line through its points on the axes.
| Boundary line | Point on the x-axis | Point on the y-axis |
|---|
| 3x+2y=48 | (16,0) | (0,24) |
| x+y=20 | (20,0) | (0,20) |
The origin satisfies both constraints, so each allowed half-plane is on the origin's side of its line. The feasible region is the shaded quadrilateral OABC.

Step 5 — Find the corner points.
On the axes, the region ends at A(16,0) on 3x+2y=48 and at C(0,20) on x+y=20.
For B, we solve the two boundary equations together. We multiply x+y=20 by 2 and subtract it from 3x+2y=48, which removes y.
3x+2y−(2x+2y)=48−40
x=8
We substitute this value of x into x+y=20.
y=20−8
y=12
Step 6 — Evaluate Z at each corner point.
We substitute each corner point into Z=22x+18y.
| Corner point | Working | Value of Z (in ₹) |
|---|
| O(0,0) | 22×0+18×0 | 0 |
| A(16,0) | 22×16+18×0 | 352 |
| B(8,12) | 22×8+18×12 | 392 |
| C(0,20) | 22×0+18×20 | 360 |
The region is bounded, so the largest corner value, 392 at B(8,12), is the maximum. Both numbers at B are whole numbers, as numbers of machines must be.
Therefore, Raunak should stock and sell 8 electronic and 12 manually operated sewing machines, for a maximum profit of ₹ 392.