is again the same we're not going to work through the details but essentially you said that's my density function when I have a sample or multiple samples I maximize the product of the probabilities of these samples or the sum of the log probabilities of these samples log is convenient here because the Gaussian is an exponential in it and the exponential cancels with the log and you work to the math what do you see well the mean of the Gaussian will be the mean of your samples that's the maximum likelihood estimate and the