You are on page 1of 1

Math 171 2nd Semester 2022-2023

Exercise 2

Do as indicated and work independently.

1. Consider the system of equations (


y = f1 (x)
y = f2 (x),
3
for x ∈ [−5, 3] with f1 (x) = ex/2 − and f2 (x) = sin(2x). This has 3 solutions (x1 , y1 ), (x2 , y2 ), and
2
(x3 , y3 ) with x1 < x2 < x3 . Use Bisection, Secant, and Fixed Point methods to determine x1 , x2 , and
x3 , respectively. Use appropriate initial guesses and stopping criteria. When I ran your code, it should
display the following gure;

You might also like