In classical mechanics, the mass of a moving particle is independent of its velocity. But in special theory of relativity one can see that mass is also relative. In the…