A monoatomic ideal gas is expanded by supplying energy q to the gas at constant pressure. The work done (w) by the gas is related to q as

a) w = q
b) w > q
c) w < q
d) w = 0