MATHEMATICAL OPTIMIZATION OF JETS IN CROSSFLOW