CE33 Act4SS

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

Find the two roots of the following function:

〖𝒇 (𝒙)=𝒙 〗 ^𝟐−𝒙−𝟏

i xl xr xn F(xl) f(xr) f(xn)


1 -1.000 0.000 -0.500 1.000 -1.000 -0.250
2 -1.000 -0.500 -0.750 1.000 -0.250 0.313
3 -0.750 -0.500 -0.625 0.313 -0.250 0.016
4 -0.625 -0.500 -0.563 0.016 -0.250 -0.121
5 -0.625 -0.563 -0.594 0.016 -0.121 -0.054
6 -0.625 -0.594 -0.609 0.016 -0.054 -0.019
7 -0.625 -0.609 -0.617 0.016 -0.019 -0.002
8 -0.625 -0.617 -0.621 0.016 -0.002 0.007
9 -0.621 -0.617 -0.619 0.007 -0.002 0.002
10 -0.619 -0.617 -0.618 0.002 -0.002 0.000

x -0.618
Find the root of the following function:

〖𝒇 (𝒙)=𝒆 〗 ^(−𝒙)−𝒙

i xl xr xn F(xl) f(xr) f(xn)


1 0.000 1.000 0.500 1.000 -0.632 0.107
2 0.500 1.000 0.750 0.107 -0.632 -0.278
3 0.500 0.750 0.625 0.107 -0.278 -0.090
4 0.500 0.625 0.563 0.107 -0.090 0.007
5 0.563 0.625 0.594 0.007 -0.090 -0.041
6 0.563 0.594 0.578 0.007 -0.041 -0.017
7 0.563 0.578 0.570 0.007 -0.017 -0.005
8 0.563 0.570 0.566 0.007 -0.005 0.001
9 0.566 0.570 0.568 0.001 -0.005 -0.002
10 0.566 0.568 0.567 0.001 -0.002 0.000

x 0.567
Find the two roots of the following function: Find the root of th

〖𝒇 (𝒙)=𝒙 〗 ^𝟐−𝒙−𝟏 〖𝒇 (𝒙)=𝒆

𝑥_𝑛=𝑥_𝐿−𝑓(𝑥_𝐿)(𝑥_𝐿−𝑥_𝑅)/(𝑓(𝑥_𝐿 )
−𝑓(𝑥_𝑅))

i xl xr xn F(xl) f(xr) f(xn) i xl


1 -1.000 0.000 -0.500 1.000 -1.000 -0.250 1 0.000
2 -1.000 -0.500 -0.600 1.000 -0.250 -0.040 2 0.000
3 -1.000 -0.600 -0.615 1.000 -0.040 -0.006 3 0.000
4 -1.000 -0.615 -0.618 1.000 -0.006 -0.001 4 0.000
5 -1.000 -0.618 -0.618 1.000 -0.001 0.000

x -0.618
Find the root of the following function:

〖𝒇 (𝒙)=𝒆 〗 ^(−𝒙)−𝒙

xr xn F(xl) f(xr) f(xn)


1.000 0.613 1.000 -0.632 -0.071
0.613 0.572 1.000 -0.071 -0.008
0.572 0.568 1.000 -0.008 -0.001
0.568 0.567 1.000 -0.001 0.000

x 0.567
Find the two roots of the following function: Find the root of

〖𝒇 (𝒙)=𝒙 〗 ^𝟐−𝒙−𝟏 〖𝒇 (𝒙)=𝒆


𝑥_𝑛=𝑥_𝑜𝑙𝑑−(𝑓(𝑥_𝑜𝑙𝑑))/(𝑓^′ (𝑥_𝑜𝑙𝑑)) 𝑥_𝑛=𝑥_𝑜𝑙𝑑−(𝑓(𝑥_𝑜𝑙

𝑓(𝑥)=𝑥^2−𝑥−1

𝑓^′ (𝑥)=2𝑥−1
𝑥_𝑛=𝑥_𝑜𝑙𝑑−( 〖𝑥 ^2
𝑥_𝑛=𝑥_𝑜𝑙𝑑−( 〖𝑥 ^2 〗 _𝑜𝑙𝑑−𝑥_𝑜𝑙𝑑−1)/ (2𝑥_𝑜𝑙𝑑−1)
(2𝑥_𝑜𝑙𝑑−1)

i x f(x)
1 1.000 -1.000
2 2.000 1.000
3 1.667 0.111
4 1.619 0.002
5 1.618 0.000

i x f(x)
1 -1.000 1.000
2 -0.667 0.111
3 -0.619 0.002
4 -0.618 0.000
Find the root of the following function:

〖𝒇 (𝒙)=𝒆 〗 ^(−𝒙)−𝒙
𝑥_𝑛=𝑥_𝑜𝑙𝑑−(𝑓(𝑥_𝑜𝑙𝑑))/(𝑓^′ (𝑥_𝑜𝑙𝑑))

𝑓(𝑥)=𝑒^(−𝑥)−𝑥

𝑓^′ (𝑥)= 〖−𝑒〗^(−𝑥)


−1
𝑥_𝑛=𝑥_𝑜𝑙𝑑−( 〖𝑥 ^2 〗 _𝑜𝑙𝑑−𝑥_𝑜𝑙𝑑−1)/
(2𝑥_𝑜𝑙𝑑−1)

i x f(x)
1 1.000 -0.632
2 0.538 0.046
3 0.567 0.000
Find the two roots of the following function: Find the root of th

〖𝒇 (𝒙)=𝒙 〗 ^𝟐−𝒙−𝟏 〖𝒇 (𝒙)=𝒆


Find the root of the following function:

〖𝒇 (𝒙)=𝒆 〗 ^(−𝒙)−𝒙

You might also like