# STA100 Assignment 2 Solution and Discussion

• Course Title General Mathematics and Biostatistics
Course Code STA100
Activity Assignment # 2
Submission Deadline Date: Saturday, Feb 02, 2020
Time: 23:59 Hours (Midnight)

Instructions to attempt assignment:
• Use calculator for calculations.
• Write the complete formulas and all steps, wherever necessary.
• Make your own attempt, any copy/past; cheating from other student/website may result in ZERO marks and/or assignment cancelation.

Question # 1:
Consider the data obtained from a chemical process where the yield of the process is thought to be related to the reaction temperature (see the table below).

Observation Number Temperature (x) Yield (y)
1 50 122
2 53 118
3 54 128
4 55 121
5 56 125
6 59 136
7 62 144
8 65 142
9 67 149
10 71 161
11 72 167
12 74 168
13 75 162
14 76 171
15 79 175

Draw a best fit line which is obtained by solving simultaneously “Normal Equations”.

Question # 2:
The local ice cream shop keeps track of how much ice cream they sell versus the temperature on that day to find out Correlation, here are their figures for the last 12 days:

Ice Cream sale vs Temperature
Temperature 14.2° 16.4° 11.9° 15.2° 18.5° 22.1° 19.4° 25.1° 23.4° 18.1° 22.6° 17.2°
Ice Cream Sale \$215 \$325 \$185 \$332 \$406 \$522 \$412 \$614 \$544 \$421 \$445 \$408

6

2

2

4

3

2

15

9
| |