pontryagin's principle is used to study the shape of the supersonic part of the nozzle of a carbon dioxide gas-dynamic laser whose gain is maximal. the exact shape is obtained for the uncoupled approximation of anderson's bimodal model. in this case, if sharp corners are allowed, the ceiling of the supersonic part consists of a slant rectangular sheet followed by a horizontal one; oth...