Question

Midterm Examination         CSCI 3321        Summer, 2015                     &n

Midterm Examination         CSCI 3321        Summer, 2015                      ___________            

Your Name …                 ..

Please answer each question by entering the most nearly correct answer (a, b, c, d) in the blank on the left.               

____1. When approximating ex by a truncated Taylor series (expanded about x=0), how many terms would be required to keep the absolute value of the error below 10-3 over the

interval [-1,1] ?

                              a. 1                b. 2                c. 3                d. 4

____2. The polynomial that interpolates the data shown in the table below can be written as:

a.     1 - ½ x2                                              b.    1 + ½ x – 7/2 x2 + 1/6   x3

c.     1 - ½ x2 + 1/6   x3                                           d.     1 - ½ x2 - 1/6   x3

Xx x

Y y

0

21   1

1

2/3

2

3    1/3

3 3

3     1

                                                                      

____3. Use Newton’s method to solve the equation x - sin(x-1) -1 = 0, with the initial guess

              of x0 = 0.5. After 2 iterations, the approximation, x2 , is about

a. 0.68068                              c. 0.77912

b. 0.66068                              d. None of the previous answers

____4. The Newton form of the interpolating polynomial is:

a. usually faster to compute than the Lagrange form           b. less useful for theorem proving

c. harder to use when the f values are subject to change       d. all of the previous answers

          

____5. The error in the approximation f’(x) @ (f(x+h) – f(x-h))/ (2h) is:

a. O(h)                                              b. O(h2)                                

c. O(h3)                                             d. O(h4)       

{Hint: You could use the Taylor series for f(x+h) and for f(x-h) about the point x }                       

        6. Consider the following system of linear algebraic equations:

              x + 2y + 3z = 14

              2x + y + 2z = 10

              2x + 4y + 2z = 16

Is it possible to use naïve Gauss elimination to solve this system? _____

If it is not possible, state why. If it is possible, what are x, y, and z?

____7. Circle each of the following numbers that is computer-representable:

         0.75               0.1              1/3            10               -0.125          π

____8. Determine a 2-point quadrature formula (of highest degree possible) with

x1= - 1/4 and x2 = 1/4.   What are the weights? w1 = ____   and w2 = ____.

What is the degree of your formula?

a. one                                     b. two

c. three                                  d. four

____9. What is an adaptive quadrature method?________________________________

______________________________________________________________________

___10. Rounding errors are::

a.partly due to problems representing numbers accurately in the computer memory

b.partly caused by a loss of significance when trying to calculate the result of an expression

c.occasionally able (perhaps surprisingly) actually to improve the accuracy of an answer

d.all of the above

____11.When generating an interpolating polynomial of degree 8, if you have control over the spacing of the selected points, how should these points be spaced?

a.                 c.

b.              d.

____12. When using the bisection method to find the zero of the function shown below when the initial interval (a,b) is (-1,1), the final answer is the root near:       

    a. -0.97685        b. -0.26595         c. 0.08855      d, 0.44221    e. 0.79477

   

        

____13.   The secant method has advantages over Newton’s method when:

a.             f’(x) is not known (and not easily determined)      

b.            f’(x) is very expensive to evaluate (when compared to f(x) itself)

c.            two initial guesses for the root are known

d.            all of the above

____14.   The Gauss elimination with scaled partial pivoting::

a. can always find a solution to a linear system of equations          

b. is always faster than naïve Gauss elimination       

c. is less likely to find an accurate solution than naïve Gauss elimination

d. none of the above

____15. When trying to solve numerically the equation, x - 0.9 sin(x) - 0.2 = 0, using

x -1 = 0.5 and x0 = 0.75 as initial guesses, the Secant Method gives for the approximation x2:

a. 1.04618725                                          c. 0.90160425

b. 1.70168725                                          d. 0.80160425

Notes

i need correct answers to this questions and also i want solution how you arrive at the answers

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Midterm Examination         CSCI 3321        Summer, 2015                     &n
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • (a) Find the degree 1 interpolating P(x) through the points (a, f(a)) and (b, f(b)) (b) Develop the following formula b...

    (a) Find the degree 1 interpolating P(x) through the points (a, f(a)) and (b, f(b)) (b) Develop the following formula by using the interpolating polynomial P1 (x), (c) Find the degree of precision of the approximation, T1 (f) = f(1) + f(-1), for f(r)dr. (a) Find the degree 1 interpolating P(x) through the points (a, f(a)) and (b, f(b)) (b) Develop the following formula by using the interpolating polynomial P1 (x), (c) Find the degree of precision of the approximation,...

  • 1. Suppose that we would like to approximate Sof(x)dx by QU) = 0 P2(x)dx, (1) where...

    1. Suppose that we would like to approximate Sof(x)dx by QU) = 0 P2(x)dx, (1) where P2(x) is the polynomial of degree at most two which interpolates f at 0, 1/2, and 1. (a) Write P2(x) in Lagrange form and prove that Q[F] o [s0 f(0) + 4f 45 (2) +scn)] (2) (b) Consider now a general interval [a, b] and the integral só f(x)dx. Do the change of variables x = a + (b − a)t to transform the...

  • 1. Of the four methods use to estimate the roots, which one appeared to be fastest...

    1. Of the four methods use to estimate the roots, which one appeared to be fastest (take the fewest iterations) to arrive at a solution: a)False-position method b)Bisection method c)Secant Method d)Newton’s Method e)They all took the same number of iterations 2.The Bisection and False-position method are: a)Interval (bracketing) methods b)Calculus-bases methods c)Secant methods d)Uses Ohm’s law 3.The Secant method is similar to Newton’s method except: a)for the use of an approximation for the tangent-line b)that two points (defining the...

  • 1. The two-point forward difference quotient with error term is given by where ξ e ll, l + hl. In...

    1. The two-point forward difference quotient with error term is given by where ξ e ll, l + hl. In class we showed an additional error term appears to due to computer rounding error, e(r). Denoting (z) f(x) +e(x) as what the com- puter stores, and supposing f"(x)M and e() e where e, M are constants, we obtained an upper bound for the error between f(r) and the computed forward difference quotient 2c h Find the minimum value of the...

  • matlab 1. Given the system of equations 9 + x2 +x3 +x4 = 75 xi +8x2 x3x54 X1+X1 +7X3 + X4 = 43 xi+x2 +x6x434 Write a...

    matlab 1. Given the system of equations 9 + x2 +x3 +x4 = 75 xi +8x2 x3x54 X1+X1 +7X3 + X4 = 43 xi+x2 +x6x434 Write a code to find the solution of linear equations using a) Gauss elimination method b) Gauss-Seidel iterative method c) Jacobi's iterative method d) Compare the number of iterations required for b) and c) to the exact solution Assume an initial guess of the solution as (X1, X2, X3, X4) = (0,0,0,0).

  • Please answer this MATLAB questions when able. Thanks. 4. Laboratory Problem Description In this laboratory you...

    Please answer this MATLAB questions when able. Thanks. 4. Laboratory Problem Description In this laboratory you are required to Find the solution of the following systems of linear equation: 1) xl + x2 + x3 3 4x1 - x2 x3-2 x1 2x2 x3-2 2) 2 -1 3 A 1 3 -2. B-2 Given the following system 4x1+3x2+7x3- 3 3x1+2x2+1x3 1 2x1+3x2+4x3- 2 Using MATLAB commands solve the following system using Gaussian elimination with partial pivoting. Find P, L, and U...

  • 3) Write a polynomial f(x) that meets the given conditions. Answers may vary. 3) Degree 2...

    3) Write a polynomial f(x) that meets the given conditions. Answers may vary. 3) Degree 2 polynomial with zeros 212 and -222 A) S(x) = x2 + 472x+8 B) f(x) = x2-8 9 S(x) = x² + 8 D) S(x) = x2-11/2x+8 4) Degree 3 polynomial with zeros 6, 21, and -2i A) S(x) => x3 + 6x2 + 4x + 24 f(x)= x2 - 6x2 + 4x - 24 B) /(x) = x2 - 6x2 - 4x + 24...

  • 2. True (T) or False (F) a) Round-off errors increase with the number of calculations performed...

    2. True (T) or False (F) a) Round-off errors increase with the number of calculations performed b) Newton-Raphson method always converge c) Romberg formula is one of the most popular method for numerical integration d) The error of fourth order Runge-Kutta method is greater than the error of Heun method e) First order Runge-Kutta method is equivalent to the Euler method 1) A system of 2 ordinary differential equations requires 2 initial conditions to be solved g) Gauss quadrature formula...

  • Throughout this question, fix A as an n×n matrix. If f(x) is a polynomial, then f(A) is the expre...

    Throughout this question, fix A as an n×n matrix. If f(x) is a polynomial, then f(A) is the expression formed by replacing every x in f(x) with A and inserting the n×n identity matrix I to its constant term. For example, if f(x) = x2 −2x+5 (whose degree is 2), then f(A) = A2 −2A+5I; if f(x) = −x3 +2 (whose degree is 3), then f(A) = −A3 + 2I. (a) Using induction of the degree of the polynomial f(x),...

  • Let D P3P3 be the function that sends a polynomial of degree 3 to its derivative...

    Let D P3P3 be the function that sends a polynomial of degree 3 to its derivative (a) Find an eigenvector for D or explain why no eigenvector exists Write your solution here (b) Let B 1 x, x + x2, x2 + x3,x3}. B is a basis for P3. Find MDB-B Here, MD.- is the unique matrix such that MD-xs = [D(x)]s Write your solution here Recall that D: P is polynomial differentiation. 1x, x +x2, x2 +x3,x3} and C...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT