Solution:
Suppose the price of 1kg potato, wheat and rice is , and respectively.
As per the question,
Now converting the equations into matrix form
Again converting into the equations we get
The cost of potatoes, wheat and rice is Rs.5, Rs. 8 and Rs. 8 respectively.