We cannot calculate the mean and variance of uniform distribution using PGF and MGf isnt it? Because the denominator becomes 0 Is it?
You've to do this \[ \lim_{t \to 0} M_X'(t) \] because putting t = 0 in M'x(t) is giving 0/0 (indeterminate form) This rule will come in handy in solving the limit.