Docsity

Computational Methods - Practice Quiz 3 | CMSC 460, Quizzes of Computer Science

Toggle sidebar
bg1
AMSC/CMSC 460 Quiz 3 ,Fall 2007
Show all work. You may leave arithmetic expressions in any form that
a calculator could evaluate. By putting your name on this paper, you agree
to abide by the university’s code of academic integrity in completing the
quiz. Use no books, calculators, cellphones, communication with others,
scratchpaper, etc.
Name
1. (10) Use Simpson’s rule to compute an approximation to
Z1
0
etdt.
(If you can’t remember Simpson, composite Trapezoid with 3 panels (h=
1/3) is worth 7 points.)
1
pf2

Partial preview of the text

Download Computational Methods - Practice Quiz 3 | CMSC 460 and more Quizzes Computer Science in PDF only on Docsity!

AMSC/CMSC 460 Quiz 3 , Fall 2007

Show all work. You may leave arithmetic expressions in any form that a calculator could evaluate. By putting your name on this paper, you agree to abide by the university’s code of academic integrity in completing the quiz. Use no books, calculators, cellphones, communication with others, scratchpaper, etc.

Name

  1. (10) Use Simpson’s rule to compute an approximation to

∫ (^1)

0

etdt.

(If you can’t remember Simpson, composite Trapezoid with 3 panels (h = 1 /3) is worth 7 points.)

  1. (10) Let

I(f ) =

0

f (t)dt.

Suppose we approximate I by a Gauss-Lobatto rule of the form

Q(f ) = ω 1 f (0) + ω 2 f (t 1 ) + ω 3 f (t 2 ) + ω 4 f (1).

Write down conditions to make this rule exact for polynomials of degree 5 or less.