没有合适的资源?快使用搜索试试~ 我知道了~
nde_homework1.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 54 浏览量
2023-06-18
13:14:50
上传
评论
收藏 98KB PDF 举报
温馨提示
试读
2页
nde_homework1.pdf
资源推荐
资源详情
资源评论
Homework # 1
Due: Monday, 9/9
1. (10pts ) a. One way to derive difference methods for y
0
(t) = f (t, y) is to integrate
the equation from t
i
to t
i+1
, i.e.,
Z
t
i+1
t
i
y
0
(t) dt =
Z
t
i+1
t
i
f(t, y) dt
and then use a numerical quadrature rule to approximate the integral of f . Derive the
backward Euler method by using an appropriate numerical quadrature rule. Be sure and
state which quadrature rule you are using.
b. (Graduates only) Use the quadrature rule
Z
b
a
g(x) dx =
b − a
2
h
g(a) + g(b)
i
to approximate
R
t
i+1
t
i
f(t, y) dt and derive a difference equation for y
0
(t) = f(t, y). Is it
explicit or implicit?
2. (10 pts) Identify each method as explicit or implicit. Justify your answer.
a. Y
i+1
= Y
i
+
∆t
2
f(t
i
, Y
i
) + f
t
i
+
∆t
2
, Y
i
+
∆t
2
f(t
i
, Y
i
)
b. Y
i+1
= Y
i
+
∆t
2
f(t
i
, Y
i
) + f
t
i+1
, Y
i+1
c. Y
i+1
= Y
i
+
∆t
2
f(t
i
, Y
i
) + f
t
i+1
, Y
i
+ ∆tf(t
i
, Y
i
)
d. Y
i+1
= Y
i−3
+
4∆t
3
2f(t
i
, Y
i
) − f(t
i−1
, Y
i−1
) + 2f(t
i−2
, Y
i−2
)
e. Y
i+1
= Y
i−1
+
∆t
3
f(t
i−1
, Y
i−1
) + 4f(t
i
, Y
i
) + f
t
i+1
, Y
i+1
3. (10 its) Consider the specific IVP
y
0
(t) = t
3
+ 5t + 1 0 < t < 4 y(0) = 1
a. Perform one step of the forward Euler method with ∆t = .1 and compute the actual
error there (use exact arithmetic). Write the equation of the tangent line to the solution
at the origin. Plot the exact solution on [0, .1], the tangent line at the origin and your
approximation. Is your approximation on the exact solution curve, the tangent line or
neither? Why?
b. We know that the local truncation error in taking a step of the forward Euler method
is given by the remaining terms in the series
(∆t)
2
2!
y
00
(t) +
(∆t)
3
3!
y
000
(t) +
(∆t)
4
4!
y
[iv]
(t) + · · ·
1
资源评论
卷积神经网络
- 粉丝: 338
- 资源: 8460
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功