when an ideal diatomic gas is heated at constant pressure, its initial energy increased by 50cal then the work done by the gas is: