Presentation is loading. Please wait.

Presentation is loading. Please wait.

Numerical Methods for solutions of equations

Similar presentations


Presentation on theme: "Numerical Methods for solutions of equations"β€” Presentation transcript:

1 Numerical Methods for solutions of equations
Decimal Search method Tuesday, 10 September 2019

2 Example Show that the equation π‘₯ 2 +8π‘₯βˆ’25=0 has a solution between π‘₯=2 and π‘₯=3. Use Decimal search to obtain values of this solution correct to 2 decimal places. Let f π‘₯ = π‘₯ 2 +8π‘₯βˆ’25 f 2 = βˆ’25 =βˆ’5 Change of sign implies a solution lies between π‘₯=2 and π‘₯=3 f 3 = βˆ’25 =8 π‘₯ 𝑓(π‘₯) 2.1 2.2 2.3 2.4 2.5 Change of sign implies a solution lies between π‘₯=2.4 and π‘₯=2.5 -3.79 -2.56 -1.31 -0.04 1.25 π‘₯ 𝑓(π‘₯) 2.40 2.41 Change of sign implies a solution lies between π‘₯=2.40 and π‘₯=2.41 -0.04 0.0881 Solution π‘₯=2.40 to 2 decimal places

3 Has a solution between π‘₯=0 and π‘₯=1
Example Show that the equation π‘₯ 3 +4π‘₯βˆ’2=0 Has a solution between π‘₯=0 and π‘₯=1 Hence, using the decimal search method find this solution correct to 3 decimal places. Let f π‘₯ = π‘₯ 3 +4π‘₯βˆ’2 f 0 = βˆ’2 =βˆ’2 Change of sign implies a solution lies between π‘₯=0 and π‘₯=1 f 1 = βˆ’2 =3 π‘₯ 𝑓(π‘₯) 0.1 0.2 0.3 0.4 0.5 -1.599 -1.192 -0.773 -0.336 0.125 π‘₯ 𝑓(π‘₯) 0.40 0.41 0.42 0.43 0.44 0.45 0.46 0.47 0.48 -0.336 -0.291 -0.245 -0.200 -0.154 -0.108 -0.062 -0.016 0.030

4 Solution π‘₯=0.474 to 3 decimal places
𝑓(π‘₯) 0.470 0.471 0.472 0.473 0.474 -0.016 -0.011 -0.006 0.0024 Solution π‘₯=0.474 to 3 decimal places Question1 Show that the equation 4π‘₯ 3 βˆ’2π‘₯βˆ’5=0 Has a solution between π‘₯=1 and π‘₯=2 Hence, using the decimal search method find this solution correct to 3 decimal places.

5 Question2 Show that the equation π‘₯ 3 +π‘₯βˆ’4=0 Has a solution between π‘₯=1 and π‘₯=2 Hence, using the decimal search method find this solution correct to 2 decimal places.


Download ppt "Numerical Methods for solutions of equations"

Similar presentations


Ads by Google