When the diameter of a tube is narrower in one part when compared to the other parts (a and b), then…