Determine a numeric upper bound for the error

Assignment Help Computer Engineering
Reference no: EM133422730

Problem 1. Calculate (sin x)/x dx for a = 10-2 correct to double precision accuracy manually using an analytic expression for the integral.  Show the steps of your calculations.

Problem 2.Compute an approximate value of  sin(x) dx by the composite Trapezoidal rule using h=π/16.

  1. Compare with the true value of the integral by using the anti-derivate for sin(x)
  2. Determine a numeric upper bound for the error using the Trapezoid error formula by determining the max value in the interval [0,π/2] of the derivative that appears in the error formula. Compare this numeric error bound with the error determined in a).
  3. Using Romberg's method determine R(2,2) for the integral in a) and determine the error by comparing R(2,2) with the true value.  Note, that R(2,0) is computed in a).

Problem 3.
a) Determine the number of integration intervals n necessary in computing an approximate value for  
  cos x dx by the Trapezoid rule with an error less than 10-7 using intervals of size π/n.

b) is the estimate of the integral over or underestimating the integral.

Problem 4. The  ex/(√x) dx is well defined even though the integrand has a singularity at x=0.

a) Give an alternate formulation of the integrand that does not exhibit any singularity.
b) For the integral as given, which of the following integration rules can be used and which would be your choice? Justify your answer and choice: Trapezoid rule, Simpson's rule, a Newton-Cotes rule, Gaussian quadrature.

Problem 5. In computing the Romberg integration triangle to generate R(n,n) how many function evaluations are required?

Problem 6. For Romberg integration we have ∫f(x)dx = R(n,m)+a2mmh2m+a2m+2mh2m+2+....., where the coefficients ak=ck(f(k-1)(b)-f(k-1)(a)).

Show that ∫f(x)dx = R(n,m) for all polynomials of degree≤2m-2.

Problem 7. What is the highest degree polynomial for which the Gauss quadrature formula (5/9)f(-sqrt(3/5))+(8/9)f(0)+(5/9)f(sqrt(3/5)) approximates  f(x)dx without error?  Prove your answer by integrating monomials and applying the quadrature formula to them.

MATLAB problem.

Problem 8.  Consider the integral  sinx/√xdx.  Write MATLAB programs to carry out integration by the following methods:

a) Recursive Trapezoidal rule. Determine the number of integration intervals n such that the error estimate guarantees single precision approximation accuracy. A change of variable is required since the integrand is singular at x=0.

b) Simpson's rule. Determine the number of integration intervals n such that the error estimate guarantees single precision approximation accuracy. A change of variable is required since the integrand is singular at x=0.

c) The 3-point Newton-Cotes open rule  f(x)dx = (4/3)(2f1-f2+2f3)+(28/90)h5f(4)(ξ). Determine the number of integration intervals n such that the error estimate guarantees single precision approximation accuracy.

d) Use Gauss quadrature with 3 nodes for each interval in a composite integration rule. Table of nodes and weights on page 245 of book. Let the number of integration intervals be the following nSimpson/8, nSimpson/4, nSimpson/2, nSimpsonwhere nSimpson is the number of intervals determined in b).

Reference no: EM133422730

Questions Cloud

Explain the difference between a basic solution and a base : Explain the relationship between hypotheses and the observations in Step 4 of the scientific method. . Explain the difference between a basic solution
Write the swot analysis now that you have identified : Write the SWOT Analysis Now that you have identified the organization you will analyze and complete a SWOT table listing the strengths, weaknesses
Draw an er diagram to represent the scenario : Draw an ER diagram to represent the scenario, clearly state any reasonable assumptions that you choose to make. Reasonable relation names are acceptable
What your considered thought or recommendation might be : Justify your response. Examine what you have learned in the textbook, online video lessons and provide references, textual quotes and/or links to the materials
Determine a numeric upper bound for the error : Determine a numeric upper bound for the error using the Trapezoid error formula by determining the max value in the interval [0,p/2] of the derivative
Discuss aquinas cosmological proof for the existence of god : Discuss Aquinas' cosmological proof for the existence of God. According to Aquinas, what do these proofs teach us about God?
Is the death penalty a morally permissible practice : Many states and countries have banned the practice. In the assigned reading, Louis Pojman has an interesting defense.
How the brown decision affected us education : Explain the basic nature of each decision, and tell how the Brown decision affected U.S. education.
What are the additional means available for rp : What are the additional means available for RP to get more information (attributes) about the subscriber?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Which conversion strategy would you adopt

What are some of the most challenging aspects of going from a legacy system to a new one? Which conversion strategy would you adopt?

  The means of defending against general dos attacks

Research tool, search for alternative means of defending against either general DoS attacks or a particular type of DoS attack.

  Identify the specifications you would need to gather

Assignment: Power Supply Replacement Process- Identify the specifications you would need to gather to select an appropriate power supply for a system.

  How does the proxy improve the load time for users

How does the proxy improve the load time for users? In your own words, how this slowness can be reduced? List the steps use to cleanup this data.

  Compute the distribution over a variable Xi given

Show how you could e-ciently compute the distribution over a variable Xi given some assignment to all the other variables in the network.

  What are two critical errors the company leadership made

Find an example of a company that failed to innovate and was pushed out of business. What are two critical errors the company's leadership made?

  What three groups of signals compose the ieee bus

What is the difference between the IEEE 488 bus and a PVT parallel interface.

  Questionfor this module you will require to complete

questionfor this module you will require to complete following tasks. this section will be additional to the end of

  Describe three types of online contracts

Describe three types of online contracts that people and organizations commonly enter into on a frequent basis.

  Describe and explain the type of action research

IST 8101 Wilmington University Describe and explain the type of Action Research that will be used for your project.

  Create models of cars with different colors

Create models of cars with different colors and engines to support different accelarations - Everything was going well until a new customer came in and asked

  Questionyou are asking to be part of team designing a

questionyou are asking to be part of team designing a network for a national non profit organization. the association

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd