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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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