0% found this document useful (0 votes)
294 views3 pages

Revision Questions (Test 2)

1. Fit linear and quadratic regression models to predict y from x using data with four variables. Find the standard error, coefficient of determination, and predicted y value for a given x. 2. Use multiple linear regression to predict y from x1 and x2 using given data. Determine the correlation coefficient and standard error. 3. Use 3rd order Newton and Lagrange polynomials to model rocket distance over time using given data. Calculate distance and velocity at a time point using the Newton model.

Uploaded by

Jing Heng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
294 views3 pages

Revision Questions (Test 2)

1. Fit linear and quadratic regression models to predict y from x using data with four variables. Find the standard error, coefficient of determination, and predicted y value for a given x. 2. Use multiple linear regression to predict y from x1 and x2 using given data. Determine the correlation coefficient and standard error. 3. Use 3rd order Newton and Lagrange polynomials to model rocket distance over time using given data. Calculate distance and velocity at a time point using the Newton model.

Uploaded by

Jing Heng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Additional Questions

1. Given the following data:


2 5.1 13.51 0.0225
3 7.6 1.38 0
4 10.4 2.64 0.2025
5 12.0 10.40 0.09
14 35.1 27.93 0.315

a) Fit a straight line to the x and y values in the first two columns of the table using the linear
regression method. Find the standard estimate of error, Sy/x, the coefficient of
determination, r2 and the value of y when x = 3.5.

b) Using only the and data, fit a regression line and force the intercept to zero.
Recalculate the value of y when x = 3.5.

c) Repeat part (b) using quadratic regression.

2. Use multiple linear regression to obtain an equation of y as a function of and from the
data given below. Determine the correlation coefficient, r and standard error of the
estimate, . Justify your answers.

0 0 5
2 1 10
2.5 2 9
1 3 0
4 6 3
7 2 27
3. Mr. Mickey conducted an experiment to determine the distance travelled by a rocket at
selected time. The following are data measured by Mr. Mickey at each hour:

Time, t (Hour) 1 2 3 4
Distance, S (km) 40 58 65 86

a) Use a 3rd order Newton Polynomial to find an expression for the variation of the rockets
distance against time. Write in the form of = At + + + .

b) Repeat part (a) using 3rd order Lagrange Polynomial.

c) Based on the polynomial obtained in part (a), calculate the distance travelled by the
rocket, AND the rockets velocity, at t = 3.5hours.

4. The amount of mass transported via a pipe over a period of time can be computed as

"
= . !
#

where = mass (mg), = initial time (min.), = final time (min.), = volumetric flow
3
rate (m /min.) and 3
= concentration (mg/m ). The following functional representations
define the temporal variations in flow and concentration:

= 9 + 4 &' 0.4
= 3* . +

a) Determine the total mass transported between = 2 min. and = 6 min. with a step size
of 1 min. using suitable application of Simpsons rule.

b) Estimate the rate of change of the volumetric flow rate between = 2 min. and =6
min. with a step size of 2 min. using differentiation formula of , .
5. Miss Mimo is a fashion designer and knows very little about integration. She would like to
calculate the area under two curves (see Figure 1 below) from X = 0 to X = 6. Given:

Curve 1 lies in the region of X = 0 to X = 3, where F ( X ) = 2 X 2 + 5 X + 1


Curve 2 lies in the region of X = 3 to X = 6, where F ( X ) = 3 X 2 + 2 X + 9

Use the 3-point Gauss Quadrature method and to help her calculate the total area under the
curves.

Figure 1

6. Solve the following ODE using Euler method with a step size of 0.3 when p(0.9). Given p(0) =
2 with k = 2 and v = 1.

!.
01 + 4.1. 2.5/ = 0
!/

You might also like