Question: How to create an interactive DensityPlot?

The following commands:

with(Statistics):

DensityPlot(Binomial(100,0.5)); #with parameters n=100 and p=0.5

create a density plot of a binomial distributed random variable.

Now I want to create that plot, but have dials for the parameters n and p to interact with the plot through those dials.

How may I accomplish that?

Please Wait...