A bathtub spout is used to divert a constant stream of water for filling a bathtub and avoiding splashes on the wall…