This might be a silly question for you guys, but I've been struggling myself to handle it. Imagine we have a fish tank with:
- number of fishes: 1000
- weighted average: 0.233 (kg)
One day, I decided to remove 200 fishes having 0,5 kg of weighted average. What would be the new weighted average and how to calculate it?
On adding operations, I handle it as follows (using the same example):
((1000 * 0.233) + (200*0.5))/(1000+200), resulting 1 kg.
Any help will be really appreciated!