Question: I tried to type out the binomial equation in python but I can't figure out how to input the values for n, p, etc. How

I tried to type out the binomial equation in python but I can't figure out how to input the values for n, p, etc. How should I approach this problem?
5. [15] Evaluate the binomial distribution Ps(x; n, p) for n 8, p 1/2, and x 0,1,..,8. Do NOT use the built-in binomial function to do these calculations. Submit a copy of your program Make a plot your results (P vs x) Now repeat the calculation for p-1/5, and overlay these results on the same plot. Only integer values of x are defined, so prepare your plot as a histogram using the "step" in PYTHON. How can you distinguish between the two figures on the plot? Don't forget to label the axes In words, how do you interpret these two data sets as they appear on the plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
