Figure upto flow eqautions