How do I calculate the following example:
Range of prices in whatever currency like: (0, 10), (10, 20), (20, 30)
There are numbers of products underneath each range: So I have something like 100 of some kind of product under price range of (0, 10). 150 of some other product under the price range of (10, 20). and 80 of another product in the price range of (20, 30).
Important thing is that the product under each price range can be any price within that range. How do I calculate the average price of all the products within the given ranges without knowing all the prices?
What can help me solve this? I search all of google but I do not know what I am looking for? Please, I am not good with math. If this is not good question for this site, tell me what to look for and what knowledge I need to search google for.