联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Database作业Database作业

日期:2024-06-24 12:21

MATH 5486-Spring 2024

Final Exam

Due: 3:30 PM CDT May 4th, 2024

1. The BVP y ′′ − q(x)y = r(x) with y(a) = y(b) = 0 is solved using the difference scheme

where j = 1, 2, · · · , N, rj = r(xj ), qj = q(xj ), u0 = uN+1 = 0, and h = (b − a)/(N + 1).

(a) (20 points) Assuming continuous higher order derivatives of y, q, and r, find α−1, α0, and α1, such that the truncation error is O(h 4 ). (Note: y (4) − [q(x)y] ′′ = r ′′(x))

(b) (10 points) Using your result from (a), give the linear system Ax = b (in component form) that must be solved to get the solution uj for j = 1, 2, · · · , N.

(c) (10 points) Prove: If q(x) ≥ Q > 0 and h is sufficiently small, then

2. Consider the following 2-step method for solving the IVP ˙y = f(y), y(0) = y0.

yn+1 + a0yn + a1yn−1 = hbfn+1

(a) (10 points) How should a0, a1, and b be chosen to ensure the method is consistent?

(b) (10 points) How should a0, a1, and b be chosen to ensure the method is stable?

3. (40 points) The IVP ˙y = f(t, y), y(0) = y0 is integrated to get y(1) = y(0) + f(t, y(t))dt. Show that approximating the integral with the Gaussian quadrature formula leads to the following Runge-Kutta method for solving the IVP.


Remark: The Runge–Kutta methods take the form.

The coefficients of the method are collected together in the Butcher tableau as follows:

Hint: apply the Gaussian quadrature formula on the following integral

where the change of variable t = tn + (tn+1 − tn)s := tn + hs is considered.





版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp