1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Probability from a chart of data

  1. Feb 12, 2013 #1
    1. The problem statement, all variables and given/known data

    Three people write programs. The following table shows the percentage of codes written by each person (A, B, C) and the percentage of buggy codes for each person.

    ****************Coder****************
    *************A*B*C*******************
    Percent of code 30 25 45
    Percent of bugs 2 3 5

    The table may be a bit hard to read so here is the break down:
    Person A wrote 30% of the code and had 2% bugs
    Person B wrote 25% of the code and had 3% bugs
    Person C wrote 45% of the code and had 5% bugs

    Given that a bug was found, find the probability that it was in code written by person C.


    2. Relevant equations



    3. The attempt at a solution

    After much thought on this problem I'm still no closer to solving it. Honestly, we haven't done any problems set up in this way and I'm not really sure how to go about this problem. Any pointers would be much appreciated.
     
    Last edited: Feb 12, 2013
  2. jcsd
  3. Feb 12, 2013 #2

    vela

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Education Advisor

    Suppose there was a total of 10000 lines of code written. How many lines did A write? How many of those lines contain bugs? Same with B and C.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook