Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the problem of evaluating the integrals y n = 0 1 x n x + 1 0 d x for n = 1 ,
Consider the problem of evaluating the integrals
for dots. Analytically we notice that
Also,
This gives us the following algorithm for computing dots :
Compute
For dots, evaluate
a Show that for all and decreases monotonically to as A picture
would suffice for this!
b Program the algorithm in a computer and find for dots, What happens?
Why does this happen?
c Derive an algorithm for computing the values of these integrals based on evaluating
the value of from the value of
d Suppose you want to calculate the values of dots, for some number with
an absolute error of less than for some Since the naive algorithm above
produces large errors even though it is exact in theory you will use the algorithm
in c But you need a starting value. Show that there exists MinN such that if you
take and use the algorithm in c then, if calculations are performed with
infinite precision, the absolute errors in the calculations of dots, will be less
than
e Explain why rounding errors in the computer do not produce excessive errors using
this algorithm.
f Use your algorithm and the computer to find the value of to an accuracy of
Explain how you chose in this case.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started