So we are told to calculate the value of w(work) for the following system: 2NaN3(s) :rarrow:2Na(s)+3N2(g)
if 21.5g of NaN3 reacts completely at 1atm and 22.0 degrees celsius
so I know that w=(change in n)RT
So I know when 21.5g of NaN3, that means 0.496 moles of N2 are produced and 0.331 moles of Na.
And also 21.5g of NaN3 is 0.331 moles of NaN3.
I am stuck from here and am not sure what I did is right so far.