Problem Description
Suppose paperweights produced at XYZ Company have weights that are normally distributed with a mean of M grams and variance of V grams. What is the probability that a randomly chosen paperweight weighs more than
W grams?
Input FormatMean of distribtion : M (float)
Variance of distribtion : V (float)
Given Weight : W (float)
Output FormatA float upto two decimal places
Example Input
42
19.5
46
Example Output0.18
Hintuse large enough sample size (ex: 1000000) for generalization