- #1
drittel_regel
- 2
- 0
Homework Statement
Given two positive numbers calculate their weighted average(Note: This is not actually a homework question, but silly me have doubts, so I put it in this category)
Homework Equations
Two given positive numbers a,b. No separate weights are available to weigh each numbers
The Attempt at a Solution
Can I do the following by considering the weight as the number as a fraction of the sum of two numbers?
weighted average = a*(a/a+b) + b*(b/a+b) =( a^2 + b^2) /(a+b)
So, for two numbers 9 and 11, the arithmetic mean will be 10, and weighted mean will be,
9*(9/20) + 11 *(11/20) = 9*0.45 + 11 * 0.55 = 10.1
Thank you