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.