One mole of an ideal gas is kept enclosed under a light piston (area `=10^(-1)m^(2)`) connected by a compressed spring (spring constant 100 N/m). The volume of gas is `0.83m^(3)` and its temperature is 100K. The gas is heated so that it compresses the spring further by `0.1m`. The work done by the gas in the process is : (Take R =`8.3`J/K-mole and suppose there is no atmosphere).
A. 3 J
B. 6 J
C. 9 J
D. `10.5J`