The T Testing is done in order to examine statistically whether the means of the stated two groups are different…