Assignment:
Calculate the work done when 50 g of iron dissolves in hydrochloric acid in (a) a closed vessel and (b) an open beaker.
Hint: Use the ideal gas law and equations to determine amount of work done when a gas expands.
Provide complete and step by step solution for the question and show calculations and use formulas.