This is really a very simple question, it's more the understanding I need rather than a simple answer.
If I have two arrays, A with 10 elements (A1, A2, ...), and another, B, with 5 elements (B1, B2, ...) and I want to base the missing 5 elements on the ratio between existing 5 elements how would I go about doing this?
All I want to know is which of the following methods I should use to calculate the ratio:
(B1/A1+B2/A2+...+B5/A5)/5 or (B1+B2+...+B5)/(A1+A2+...+A5)
These obviously produce different numbers so which would be to correct one to use and why? Also would th eother version ever be used and in what situation?
Thanks.