1. Consider the following functions
g(x) = ((x-2)sin(πx/3))/5 h(x) = 1/(x^2+1)
(b) Determine an initial interval that can be used to nd each intersection point on the x-
interval [-10,10] in bisection and false position methods.
Notice that we can form an equation f(x) = 0 by using g(x) and h(x)
(c) From g(x) and h(x) dened above, approximate their intersection point with the smallest
positive value of x by writing computer program using
i. Bisection method
ii. False position method.
For each of these methods, repeat the iterative process until the residual jg(xk) h(xk)j is
less than 105 or the number of iterations exceeds Nmax = 100, where xk is the approxi-
mation in iteration k.
ส่งพรุ่งนี้แล้ว ไม่ไหวแล้วครับ 555555
ใครเก่ง matlab อัญเชิญมาหน่อยครับ ผมโง่เกินไป
g(x) = ((x-2)sin(πx/3))/5 h(x) = 1/(x^2+1)
(b) Determine an initial interval that can be used to nd each intersection point on the x-
interval [-10,10] in bisection and false position methods.
Notice that we can form an equation f(x) = 0 by using g(x) and h(x)
(c) From g(x) and h(x) dened above, approximate their intersection point with the smallest
positive value of x by writing computer program using
i. Bisection method
ii. False position method.
For each of these methods, repeat the iterative process until the residual jg(xk) h(xk)j is
less than 105 or the number of iterations exceeds Nmax = 100, where xk is the approxi-
mation in iteration k.
ส่งพรุ่งนี้แล้ว ไม่ไหวแล้วครับ 555555