We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 0: Weighted Mean
Day 0: Weighted Mean
Terms you'll find helpful in completing today's challenge are outlined below.
Weighted Mean
Given a discrete set of numbers, , and a corresponding set of weights, , the weighted mean is calculated as follows:
, where and are the respective corresponding elements of and .
For example, if and , our weighted mean would be:
If we wanted to round this to a scale of decimal place, our result would be .