Photo AI

An IT company writes programs for apps - NSC Mathematics - Question 1 - 2017 - Paper 2

Question icon

Question 1

An-IT-company-writes-programs-for-apps-NSC Mathematics-Question 1-2017-Paper 2.png

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

Answer

To find the equation of the least squares regression line, we first identify the coefficients from the data.

Let:

  • a=4.806a = 4.806 (slope)
  • b=1.323b = 1.323 (intercept)

The equation of the line in the form y=ax+by = ax + b is: y=4.81+1.32xy = 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

Answer

Using the regression equation:

y=4.81+1.32(16)y = 4.81 + 1.32(16)

Calculating: y=4.81+21.12=25.93y = 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

Answer

The correlation coefficient (r) can be calculated using the formula:

r=0.949r = 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

Answer

To find the fixed cost, we evaluate the cost at x=0x = 0, which is:

y=4.81y = 4.81 Or in actual rands: Cost = R4,810R 4,810.

Join the NSC students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;