Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Problem calculating average weights?

I have to calculate the average weight of a jelly bean, when I have 3 large containers of them and don't know the container weights. I know the number of jelly beans in each container and the weight of the beans + container. Can I just graph total wt vs number of beans, then do a linear regression

y = mx + b => total wt = (wt of a single jelly bean) * (number of beans) + container tare wt?

Update:

Thanks for your answers. To those who said I can't do it - I agree I can't know exactly but I was looking for a best estimate and just wanted to make sure what I was thinking was right, because the constant (y intcpt) seemed way too high

4 Answers

Relevance
  • ?
    Lv 7
    9 years ago
    Favorite Answer

    call the weights of the beans and containers be w_x, w_y and w_z

    let the average weight = m

    Therefore

    w_x = mx + c

    w_y = my + c

    w_z = mz + c

    where c= container weight and x, y, z are the number of beans

    w_x - w_y = mx - my = m(x - y)

    m = (w_x - w_y)/(x - y)

    similarly m = (w_x - w_z)/(x - z) and

    m = (w_y - w_z)/(y - z)

    Take these 3 values of m (which you can calculate) and average them.

    This average is your answer

  • 9 years ago

    OK Bob---

    You know total wgt of beans + container for each container and you know the number of beans in each container.

    Let's set up 3 equations: let w's be the total weight of each container

    let b's be the numbers of beans in each container and c's be the weight of each container

    And let x = weight of single bean.

    equations:

    w1 = b1*x + c1

    w2 = b2*x + c2

    w3 = b3*x + c3

    Now you know w1-w3 and you know b1-b3 but you don't know x or the 3 c's.

    So you've got 3 eqns and 4 unknowns. Adding these 3 equations you'd still have 1 equation and 4 unknowns. Regression won't work.

    Source(s): Math tutor for several years.
  • 9 years ago

    Yes you can. The slope/gradient will be the weight of a single jelly bean and the y-intercept will be the weight of the empty container.

  • 9 years ago

    How are you supposed to calculate the weights of the beans? You cannot do this

    without knowing the weights of the containers.

Still have questions? Get your answers by asking now.