Part 2. (24pts) Consider the following lines from a MATLAB s…

Part 2. (24pts) Consider the following lines from a MATLAB script, starting in line 7…  7   m =  8   v0 =  9   10   TIM = m(1) .* v0(1)+m(2) .* v0(2) (total initial momentum in the system) 11   TIE = (1./2) .* (m) * ( (v0) * (v0) ) (total initial energy in the system) 12   13   Vf = TIM./m(1)+m(2) (final velocity, after m1 and m2 stick together) Like Part 1, you need to think about how to get these lines to compile properly, how to make them robust and efficient, how to make them relatively easy to read and understand, and how to make sure the output is appropriate for passing in, according to the guidelines you have been given so far in this course. Write the “fixed” code in the text boxes below, and explain everything you fixed and why. As before, there can be more than one “mistake” in each line of code. For full credit, make sure to explain why something is wrong.

Figures. (10pts) Run your script three times, using the valu…

Figures. (10pts) Run your script three times, using the values of , , and given above, then create a PNG or JPG of each figure (NOT a FIG), combine them into one PDF, and upload the PDF here. Note that you ARE allowed to take screen shots, but you might not be allowed to do so by PSI (due to NVIDIA or because keystrokes won’t work), and it is usually easier to use File | Save As… .PNG or .JPG directly from the Figure window. You should NOT need to upload any text. 

Script and Command Window for Part 3. (50pts+10pts EC) Make…

Script and Command Window for Part 3. (50pts+10pts EC) Make a PDF of your M file and a PDF of the Command Window, then combine files into one PDF and upload it below. (If you can’t make any PDFs directly from MATLAB, then take screenshots and combine them into one PDF.) Make sure to clear the Command Window before your last three runs. However, DON’T clear the Command Window after each run. If you make a mistake entering values for , , and , clear the Command Window and start over.

There is a paternity dispute involving three men. We tested…

There is a paternity dispute involving three men. We tested the ABO blood groups (determined by the codominant alleles IA and IB and the recessive allele i) and MN blood groups (determined by the codominant alleles M and N and got the following results. Select the right answer and show your work on your scratch paper for full credit. Person ABO Blood Type MN Blood Group Bill AB N Chuck A MN Trevor O M Mother A M Child O MN Who is the father of the child?

You are studying two linked genes that influence vine height…

You are studying two linked genes that influence vine height and fruit color in squash. Yellow color is dominant over green, and tall height is dominant over short. You get the following numbers of offspring from your testcross: Phenotype Counts Tall yellow 410 Short green 390  Tall green  90 Short yellow 110 What is the distance between these genes in cM? Select the right answer and show your work on your scratch paper for full credit.

The following question will only be shown in the actual exam…

The following question will only be shown in the actual exam, so it is important to collect all the data/information before submitting/disconnecting from your exam.  NOTE: The essay question will be graded separately and it is worth 20 points. Complete your work on a blank piece of paper.  You will have 30 minutes after you finish your test to finish and submit all the answers for this question and the calculations to the indicated multiple choice questions to the “Exam 2 Part 2” assignment on the “Exams” link. Submit BOTH SIDES of each paper as a single PDF file (preferred) or jpeg file.  A population of fish called the founder generation is introduced into the freshwater lake of Karu. The population consists of 200 Blue (BB) individuals, 400 Green (Bb) individuals, and 400 Yellow (bb) individuals. Assume the population mates randomly, the genotypes are selectively neutral, and mutation and migration are negligible. Questions: (a) What are the frequencies of alleles B and b in the founder generation? Show your calculations. (4 points).   Frequency of allele B =__________________ Frequency of allele b = __________________ (b) Calculate p2, 2pq, q2 and the expected number of BB individuals, Bb individuals, and bb individuals in the population, assuming that the population is in Hardy-Weinberg equilibrium (HWE). Show your calculations. Hint: use the p and q values you found above. (6 points). p2= 2pq= q2= Expected number Blue (BB) = Expected number Green (Bb) = Expected number Yellow (bb) = Is the founder generation at Hardy-Weinberg equilibrium? Find ALL the values needed to complete the table below and write them down on your sheet. Last row can be left as fractions. The X2 value was kindly provided by Dr. Holechek’s Grad TA. Hint: The expected frequencies and expected values are the ones you estimated in (b). (4 points, 0.25 per square).    Use the provided χ2 table below to determine whether this population is in HWE at the B locus.  (c) What is the P value that corresponds to this Chi-square (χ2) value? (1 point). _______________ (d) Is the population in HWE? Briefly explain your answer. (2 points). ___________________________________________ (e) Mention 3 reasons why most populations are not in Hardy-Weinberg equilibrium. (3 points). 1. 2. 3. Show both sides of each of the papers you used to the camera before submitting and exiting this part of the Exam. Do not forget to show your work for your questions on the scratch papers. You have up to 30 minutes to complete the essay question and submit your calculations and essay through Exam 2 Part 2.