A certain gas is isothermally compressed to \( \left( \frac{1}{3} \right)^{\text{rd}} \) of its initial volume \( (V_0 = 3\,\text{litre}) \) by applying required pressure. If the bulk modulus of the gas is \( 3 \times 10^{5}\ \mathrm{N/m^{2}} \), the magnitude of work done on the gas is ______ \( \text{J} \).