To calculate the probability of having exactly 3 sunny days in the next 7 days, we use the Binomial Distribution formula:
P(X=k)=(knβ)pk(1βp)nβk
Where:
- n = 7 (number of days)
- k = 3 (number of sunny days)
- p = 0.9 (probability of sunny day)
P(3)=(37β)Γ0.93Γ(1β0.9)7β3
P(3)=3!(7β3)!7!βΓ0.93Γ0.14
P(3)=3Γ2Γ17Γ6Γ5βΓ0.729Γ0.0001
P(3)=35Γ0.729Γ0.0001=0.00255
This is a binomial probability problem where we're looking for exactly 3 successes (sunny days) in 7 independent trials (days), with each trial having a 90% probability of success.