\[{\frac{{ \sum {f\text{[}i\text{]}}}}{{ \sum {w\text{[}i\text{]}}}}}\]