Session Ready
Exercise

Smartphone battery example

One of the most important things to consider when buying a smartphone is how long the battery will last.

Suppose the period of time between charges can be modeled with a normal distribution with a mean of 5 hours and a standard deviation of 1.5 hours.

A friend wants to buy a smartphone and is asking you the following questions.

norm is already imported from scipy.stats.

Instructions 1/3
undefined XP
  • 1

    What is the probability that the battery will last less than 3 hours?

    • 2

      What is the probability that the battery will last more than 3 hours?

    • 3

      What is the probability that the battery will last between 5 and 7 hours?