Homework 2

CHE 116: Numerical Methods and Statistics


1. Combinations and Permutation

For each problem, write out the number of objects ($n$), the length of the sequence/sample ($l$), if repeats are allowed, and if you are computing permutations or combinations. 1 point for this on each problem

  1. [2 points] How many ways can you rearrange the letters in the word "Python"?
  2. [2 points] How many ways can you erarrange the letters in the word "Coffee"?
  3. [2 points] You have 5 close friends and are choosing which 3 friends will be in your wedding party. How many ways could you choose your friends that will be in your wedding party?
  4. [3 points] You now cannot decide either how many to be in your wedding party nor which friends to choose. Assuming you could have between 0 and 5 friends in the wedding party, how many ways could you choose them?
  5. [2 points] Quarks can have a "color charge" of red, blue, or green. If you have 5 distinguishable quarks, how many perumutations of charges could the quarks have?
  6. [2 points] Now the quarks are indistinguishable. How many combinations of quarks could you have?

Stereo Chemistry

  1. [2 points] Consider an sp3 carbon atom. What elements could be bonded to carbon to satisfy its valencey? Only choose reasonable elements you would find in typical organic molecules.
  2. [6 points] With one sp3 carbon atom and the elements you've chosen, how many compounds are there? You can reuse your elements as many times as needed to satisfy the valency. What role does distinguishability play? Connect distinguishability with the conecpt of enantiomers.

Medical Diagnosis

You do not need to use conditional probability to solve this problem

We are evaluating a new test to screen for Ebola that claims to identify Ebola in patients before symptoms are present . We want to use this test to quarantine probable cases to prevent the spread of Ebola. People can either not have Ebola or have Ebola and our test can be positive or negative. Let's take the random variable $E$ to indicate if the patient has Ebola and $T$ to indicate if the test is positive. We had 100 patients in our study who were at risk for Ebola. Our test indicated that 74 of the patients had Ebola and were quarantined to see if symptomps presented. After one week when symtpoms presented, we determined that 2 patients were not caught by the test and 6 of the quarantined patients presented with Ebola consistent with your test. The remianing patients did not have Ebola. Is catching 6/8, 75% of the patients with Ebola, indicate the test is effective? Answering this by completing the questions below.

  1. [1 point] Write out the sample space

  2. [1 point] What is the marginal probability of having Ebola?

  3. [1 point] What is the marginal probability of having a positive test result?

  4. [2 points] Compute $P(E = 1, T = 1)$

  5. [3 points] What concept did we learn that could tell us whether or not the test is effective? How could we make a numeric argument?

  6. [3 points] Is there compelling numerical evidence that the test is effective?