m = 5; p =1/2; disp( (m*p)/(1+((m-1)*p)), "The required probability is")