functions for the design of a convergent divergent nozzle