If you use up renewable resources faster than you can reproduce them, then they're really non-renewable. For example, if you're cutting down trees faster than they're growing, then you'll eventually run out of trees, even though they're "renewable". Technically, oil is renewable, but it takes millions of years to create, so it's non-renewable.
Answer:
Moles of carbon dioxide gas is 0.584 moles.
Mass of 0.584 moles of carbon dioxide gas is 25.7 g
Explanation:
Using ideal gas equation
PV = nRT
where,
P = Pressure of gas = 
V = Volume of gas = 30.0 L
n = number of moles of gas = ?
R = Gas constant = 0.0821 L.atm/mol.K
T = Temperature of gas = 27°C = 300.15 K
Putting values in above equation, we get:

Moles of carbon dioxide gas = 0.584 moles
Mass of 0.584 moles of carbon dioxide gas = 0.584 mol × 44 g/mol = 25.69 g ≈ 25.7 g
Since there is no phase change, we can use the heat equation,
Q = mcΔT
where Q is the amount of energy transferred (J), m is the mass of the substance (kg), c is the specific heat (J kg⁻¹ °C⁻¹) and ΔT is the temperature difference (°C).
Q = 2000 J
m = 100 g = 0.1 kg
c = ?
ΔT = (70 °C - 50 °C) = 20 °C
By applying the formula,
2000 J = 0.1 kg x c x 20 °C
c = 2000 J / (0.1 kg x 20 °C)
c = 1000 J kg⁻¹ °C⁻¹
Hence, the specific heat capacity of the liquid is 1000 J kg⁻¹ °C⁻¹.
When something changes state.
For example solid to a liquid
Liquid to a gas