Probability Distribution with Python & JavaScript

November 3, 2022 · 391 words · 2 min · statistics

Probability distribution curve in Python and JS Consider 20 independent repetitions of drawing a bulb from a lot. Probability that the bulb drawn will work for more than 500 hrs is 0.2. Plot a probability distribution using python or scilab for getting k success in 20 trial If I do something that has a constant probability of success - how many times do I need to do it to ensure that, on average, I’ll be successful?