An IT company writes programs for apps - NSC Mathematics - Question 1 - 2017 - Paper 2
Question 1
An IT company writes programs for apps. The time taken (in hours) to write the programs and the cost (in thousands of rands) are shown in the table below.
TIME TAKE... show full transcript
Worked Solution & Example Answer:An IT company writes programs for apps - NSC Mathematics - Question 1 - 2017 - Paper 2
Step 1
Determine the equation of the least squares regression line.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To find the equation of the least squares regression line, we first identify the coefficients from the data.
Let:
a=4.806 (slope)
b=1.323 (intercept)
The equation of the line in the form y=ax+b is:
y=4.81+1.32x
Step 2
Use the equation of the least squares regression line to predict the cost, in rands, of an app that will take 16 hours to write.
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Using the regression equation:
y=4.81+1.32(16)
Calculating:
y=4.81+21.12=25.93
Since the costs are in thousands of rands, we multiply by 1000:
Cost = $25,930.
Step 3
Calculate the correlation coefficient of the data.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The correlation coefficient (r) can be calculated using the formula:
r=0.949
This indicates a strong positive correlation between time taken and cost.
Step 4
For each app that the company writes, there is a cost that is independent of the number of hours spent on writing the app. Calculate this cost (in rands).
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To find the fixed cost, we evaluate the cost at x=0, which is: