Dear,
======================== This code will give error ============
restart;
with(Statistics);
i:=1:
RandomVariable(ProbabilityTable([1/2,1/2]));
=========================
I used Maple12 and had a hard time debugging my code to find the error . Finally, I found that when we assign the name i a value, then the RandomVariable(ProbabilityTable([...]) will give error message below:
Error, (in Statistics:-Distribution...