The mean of 18,24,15,2x+1 and 12 is 21, then the value of x is:
We know, Mean is given by,
Mean=Sum of the elementsTotal number of elements.
Here, number of observations =5.