Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Engineering Mathematics Expert

Question 1 (Polynomial interpolation)-

1. Recall the formula for the Newton form of the interpolation polynomial p1(x) of degree one of a function u(x) and interpolation points x0, x1.

2. Determine the interpolant exactly in the Newton form for u(x) = ex and in particular for the interpolation points x0 = 0 and x1 = 1. (Hint: write this in terms of the number e and the general interpolation points x0, x1.)

3. For the same example determine also the Lagrange form and the monomial form (a0 + a1x).

4. What is the error e(x) of p1(x) evaluated at point x?

5. What is (to 4 digits) e3/4, p1(3/4) and the error e(3/4) = p1(3/4) - u(3/4)? Choose x0 = 0 and x1 = 1.

6. What is the first degree Taylor polynomial t1(x) (expanded around x = 0) for the function u(x) = ex?

7. What is the value of this Taylor polynomial t1(x) at x = 3/4 and the error? Compare with the interpolation error.

8. What is the error formula provided in the lectures for the interpolation polynomial p1(x). Compare this to the error formula for the Taylor polynomial t1(x). Choose x0 = 0 and x1 = 1 and u(x) = ex.

9. Provide upper and lower bounds for both these errors for the interval [0,1] and evaluate at x = 3/4. How do the bounds compare to each other and to the actual errors computed previously?

10. Recall the formula for the Newton form of the interpolant p2(x) of u(x) for a second degree polynomial with interpolation points x0, x_1,x_2.(Hint : Usep_1(x)$ from above and provide the formula for the remaining coefficient c2 in terms of p1(x2).)

11. Evaluate the formula as above (exact and to 4 decimal digits) for the data points x0 = 0, x1 = 1 and x2 = 1/2 and u(x) = ex. Note that the xi do not need to be ordered. Compute the value of p2(3/4) what is the error p2(3/4) - e3/4?

12. What is the formula for the error of p2 for a general u(x)? Use this to get upper and lower error bounds for the error for the case of x0,x1,x2,x ∈ [0, 1]. Evaluate exactly and to 4 digits for the case of x0 = 0, x1 = 1, x2 = 1/2, x ∈ [0, 1] and x = 3/4. 1.

Question 2 (Quadrature) -

1. Recall the formula for a (composite) trapezoidal rule Tn(u)for I = abu(x)dx which requires n function evaluations at equidistant quadrature points and where the first and the last quadrature points coincide with the integration bounds a and b, respectively.

2. For a given v(x) with x ∈ [0, 1] do a variable transformation x = g(ξ) = αξ + β such that g(-1) = 0 and g(1) = 1. Use this to transform the integral I = 01v(x)dx to an integral over [-1, 1]. What are α and β? Show that for u(ξ) = αv(αξ + β) one has I =-11 u(ξ) dξ  = 01v(x) dx.

3. Consider the function v(x) = x(x - 1/2)(x - 1) for x ∈ [0,1]. Determine the transformed function u(ξ) introduced in the previous question. Show that -11 u(ξ) dξ = 0. (Hint: you can do this without evaluating the function.) Determine the values of the midpoint rule, the simple trapezoidal rule (with two points) and of the Gaussian rule with 2 quadrature points. What do you observe about the accuracy of these rules?

4. Consider the function u(ξ) = (ξ2 - 1)2 for ξ ∈ [-1, 1]. Compute the values of the (composite) trapezoidal rule for equidistant points and 2, 3 and 5 points. Construct the corresponding Romberg tableau Ri,j as in the lectures. Show that exactly one of the 3 computed values is exact. Give the reason why this is the case. (Hint: this follows from the Euler-Maclaurin formula.)

5. How many Gauss points are required if the Gauss quadrature rule should provide the exact value of the integral I = -11u(ξ)dξ for the function u(ξ) = (ξ2 - 1)2? Prove that your answer is a consequence of a major result covered in the lectures about Gaussian quadrature. Provide the values of the weights and points (and show how to compute them) for this rule.

Question 3 (Differences) -

1. Use the method of undetermined coefficients to compute the coefficients of a finite difference approximation for u'(ξ) using the values u(0), u(1) and u(2). Choose the coefficients such that the formula is exact for polynomials with degree less or equal to 2. Can you use these coefficients to get an approximation for a first derivative based on function values v(x), v(x + ft) and v(x +2h)? At which point z and for which functions v(x) is this approximation equal to v'(z)? Determine the coefficients exactly for ξ = 3/4.

2. Evaluate these formulas to determine v'(ξh) using v(0), v(h), v(2h) for v(x) = exp(x) and h = 1, 0.5, 0.25. Determine the error for these three values of h. Based on these values, what would you guess the dependence of the error on h to be - linear, quadratic, cubic or of higher order? For this problem choose ξ = 3/4.

3. Recall the error formula from the lecture and apply them to this problem. Derive upper and lower bounds and compare them with the previously computed errors.

Engineering Mathematics, Engineering

  • Category:- Engineering Mathematics
  • Reference No.:- M91582527
  • Price:- $120

Guranteed 48 Hours Delivery, In Price:- $120

Have any Question?


Related Questions in Engineering Mathematics

Question what is the signed binary sum of 1011100 and

Question : What is the signed binary sum of 1011100 and 1110101 in decimal? Show all of your work. What is the hexadecimal sum of 9A88 and 4AF6 in hexadecimal and decimal? Show all of your work.

Numerical analysis assignment -q1 define the following

Numerical Analysis Assignment - Q1. Define the following terms: (i) Truncation error (ii) Round-off error Q2. Show that if f(x) = logx, then the condition number, c(x) = |1/logx|. Hence show that log x is ill-conditioned ...

I have these questions for a homework assignment and have

I have these questions for a homework assignment and have to show work. This works with MIPS coding language and is the class Introduction to Computer Architecture. 1. Find the 2's complement representation (in 32-bit he ...

Show all your work not just the answerswhen you multiply 21

(SHOW ALL YOUR WORK, not just the answers) When you multiply: 21 x 68 you most likely do: 8x1 + 8x20 + 60x1 + 60x20 = 1, 428 So, there are 4 multiplications and then 3 additions. How long would it take a computer to do t ...

Analytical methods for engineers assignment - calculusthis

ANALYTICAL METHODS FOR ENGINEERS ASSIGNMENT - CALCULUS This assignment assesses Outcome - Analyse and model engineering situations and solve problems using calculus. Questions - Q1. Differentiate the following functions ...

Question a suppose that you are given an instance of the

Question : (a) Suppose that you are given an instance of the MST problem on a graph G, with edge weights that are all positive and distinct. Let T be the minimum spanning tree for G returned by Kruskal's algorithm. Now s ...

Question a signal starts at point x as it travels to point

Question : A signal starts at point X. As it travels to point Y, it loses 8 dB. At point Y, the signal is boosted by 10 bB. As the signal travels to point Z, it loses 7 dB. The dB strength of the signal at point Z is -5 ...

Question 1 - many spas many componentsconsider 4 types of

Question 1 - Many spas, many components Consider 4 types of spa tub: Aqua-Spa (or FirstSpa, or P1), Hydro-Lux (or SecondSpa, or P2), ThirdSpa (or P3) and FourthSpa (or P4), with the production of products P1, ..., P4 in ...

Clculus assignment -q1 find the total differential of w

CALCULUS ASSIGNMENT - Q1. Find the total differential of w = x 3 yz + xy + z + 3 at (x, y, z) = (1, 2, 3). Q2. Find the value of the double integral ∫∫ R (6x + 2y 2 )dA where R = {(x, y)| - 2 ≤ y ≤ 1, y 2 ≤ x ≤ 2 - y. Q3 ...

Assignment - lp problemsthe data for all the problems in

Assignment - LP problems The data for all the problems in this HW are included in the LP_problems_xlsx spreadsheet Problem 1: Cash Planning A startup investment project needs money to cover its cash flow needs. At the en ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As