If we ignore gravity, then the pressures over the inlet and outlet areas are constant. Along a streamline on the centerline, the Bernoulli equation and the one-dimensional continuity equation give, ...