how much heat is released when 42.3 grams of ammonia is produced?

Look up delta Ho formation in your text for NH3.

-229.0

To determine the amount of heat released when 42.3 grams of ammonia is produced, you need to know the reaction involved and its corresponding enthalpy change or heat of reaction. Are you referring to a specific chemical reaction?