Exercises and Problems

Chapter 1
1.a) Find the root of x2/3 + 2x - 5 using both the Bisection Method and the Newton-Raphson method.
b) Write a program in C++ to find a root using the Newton-Raphson method. Test it with the above equation.


Chapter 2
Table 2.1
i 12345 678
xi 1.21.82.83.55.0 6.07.49.6
yi 6.518.4611.6013.99 17.3520.8724.0027.64

1.a) Find the equation of a straight line through the data points given in Table 2.1 above, using least squares regression.
b) Find the:
i) Correlation coefficient
ii) Coefficient of determination
iii) Standard Error of Estimate
c)
i) Do the x vs. y values demonstrate a strong linear relationship? Give reasons for your answer.
ii) Does the regression equation determined in part a) describe the data given in Table 2.1 reasonably well?
A. Not really
B. Somewhat so
C. Yes Indeed


Chapter 3
1.a) Compute the area under the curve f(x) = x2 + 5x + 2 between the limits x = 0 and x = 2, using:
i)the trapezoidal rule with h = 0.2.
ii)the Simpson's 1/3 rule with h = 0.2.
b) Which estimate is more accurate; the answer from part (a)-i) or (a)-ii) ? Explain why.
2. What is a step-size, and how is it determined, given data points (x1,y1), (x2,y2), (x3,y3) etc... ?
3. Compute the derivative of the function f(x) = 4x2 + 6x - 2 using the following approximations, with x = 3 and step sizes of 0.2, 0.1, and 0.05:
a)
i)Forward Difference
ii)What is the relationship between the step-size and the accuracy of the estimate?
b)
i)Backward Difference
ii)What is the relationship between the step-size and the accuracy of the estimate?
c)
i)Central Difference
ii)What is the relationship between the step-size and the accuracy of the estimate?
iii)By how much is the error reduced when the step-size is halved ?
4. Which method gives the best estimate?
A. Forward difference approximation
B. Backward difference approximation
C. Central difference approximation


Solutions to these exercises are available