formula of closing and opening capital?
The formulae for opening and closing capital would depend on the data given in the questions, but generally used formulas are :
Closing Capital = Opening Capital + Profit−Loss + Additional Capital Introduced – Drawings
Opening Capital = Closing Capital +Drawings−Additional Capital−Profits +Loss