It is always not possible to determine exactly and simultaneously the position and momentum of…