How could someone show me how to get the first and 2nd moment. Please and thank you. Solution differentiate with respect to t to get first moment and differentiate first moment with respect to t to get the second moment my(t)= [pe^t +(1-p)]^n my\'(t)=n [pe^t +(1-p)]^(n-1) * pe^t my\"(t)=npe^t[pe^t +(1-p)]^n-1 + npe^t * (n-1) * [pe^t +(1-p)]^(n-2) * pe^t.