Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
31 views

Tutorial 2

This document compares the bisection method, fixed point method, and Regula-Falsi method for finding the root of the equation sinx-(x/2)^2. Tables show the iteration values for x, the function value, percentage error and error for each method. Graphs plot the log of percentage error against the iteration number for each method. The bisection method converges slower than the other two methods.

Uploaded by

Jainam
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Tutorial 2

This document compares the bisection method, fixed point method, and Regula-Falsi method for finding the root of the equation sinx-(x/2)^2. Tables show the iteration values for x, the function value, percentage error and error for each method. Graphs plot the log of percentage error against the iteration number for each method. The bisection method converges slower than the other two methods.

Uploaded by

Jainam
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Problem 2

T. V. 1.93375496

Bisection False Position

Iteration x sinx-(x/2)^2 et (%) ea(%) Iteration x sinx-(x/2)^2 et (%) ea(%)


1 0.5914709848 1 0.5914709848
2 -0.090702573 2 -0.0907025732
1 1.5 0.4349949866 22.43071 1 1.867039 0.0849816223 3.450080297
2 1.75 0.2183609469 9.502495 14.28571 2 1.931355 0.0031674065 0.124131116 3.330083
3 1.875 0.0751795316 3.038387 6.666667 3 1.933671 0.0001096176 0.0043502959 0.119786
4 1.9375 -0.004962282 0.193667 3.225806 4 1.933751 3.783707E-06 0.0002099265 0.00414
5 1.90625 0.0358137931 1.42236 1.639344

Log (% error)
Error in Bisection Method
6 1.921875 0.0156014128 0.614347 0.813008
7 1.929688 0.0053633975 0.21034 0.404858 100
8 1.933594 0.0002115054 0.008337 0.20202 10
et
(%)
9 1.935547 -0.002372653 0.092665 0.100908
1
10 1.93457 -0.00107989 0.042164 0.05048
0.1
11 1.934082 -0.000434021 0.016914 0.025246
12 1.933838 -0.000111215 0.004289 0.012625 0.01

13 1.933716 5.015584E-05 0.002024 0.006313 0.001


0 2 4 6 8 10 12 14
Iteration Number
Fixed Point
Lo g (% er r o r)

Iteration x 2sqrt(sinx) et (%) ea(%)


1 1.834634552
1 1.834635 1.9650914779 5.1258 45.49323 Error in Fixed Point Method
2 1.965091 1.9217362636 1.620501 6.63872
100
3 1.921736 1.9380918406 0.621521 2.256044 et
10 (%)
4 1.938092 1.9321510487 0.224273 0.843901
1
5 1.932151 1.9343409538 0.082943 0.30747 0.1
6 1.934341 1.9335379655 0.030303 0.113212 0.01
7 1.933538 1.9338329802 0.011221 0.041529 0.001
0 1 2 3 4 5 6 7 8 9 10
8 1.933833 1.9337246707 0.004035 0.015255
Iteration Number
9 1.933725 1.9337644451 0.001566 0.005601
1
0.1
0.01
0.001
0 1 2 3 4 5 6 7 8 9 10
Iteration Number
L o g (% e rro r)

Error in Regula-Falsi
10
et
1 (%)
0.1
0.01
0.001
0.0001
0.5 1 1.5 2 2.5 3 3.5 4 4.5

Iteration Number

You might also like