STEP-BY-STEP ANSWER:
Step 1: Define the control volume encompassing the nozzle.
Step 2: Write the energy balance equation accounting for enthalpy, kinetic energy, and potential energy entering and exiting the nozzle.
Step 3: Include flow work as part of the enthalpy term.
Step 4: Recognize that for an ideal nozzle, changes in potential energy are often negligible.
Step 5: Solve the equations to relate inlet conditions to outlet conditions.
Final Answer: The energy balance equates the sum of the inlet enthalpy and kinetic energy to the outlet enthalpy and kinetic energy (plus any work interactions if applicable).