0% found this document useful (0 votes)
6 views5 pages

Secant Method Iterations Explained

The document describes using the secant method to iteratively find the zero of a function f(x) between values of x=1 and x=2. It performs the iterations, finding that the zero is between x=1.4 and x=1.5, with the answer being x=1.495. A second example solves for the zero of the function f(x)=x^3-4 using the same method over 4 iterations.

Uploaded by

harabass
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

Secant Method Iterations Explained

The document describes using the secant method to iteratively find the zero of a function f(x) between values of x=1 and x=2. It performs the iterations, finding that the zero is between x=1.4 and x=1.5, with the answer being x=1.495. A second example solves for the zero of the function f(x)=x^3-4 using the same method over 4 iterations.

Uploaded by

harabass
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

when x = 1, f(x) is positive. And when x = 2, f(x) is negative.

That means the zero of f(x) is between 1 and 2.


So, we try x0 = 1 and x1 = 2

f(x) =
xi-1 = x0 = 1 y0 = f1 =

xi = x1 = 2 y1 = f2 =

iteration 1st x2 = 1.267 y2 = f 1.27 =

iteration 2nd x3 = 1.399 y2 = f 1.4 =

iteration 3rd x4 = 1.522 Answer y4 = f 1.52 =

iteration 4th x4 = 1.493 y5 = f 1.49 =

iteration 5th x5 = 1.495 y6 = f 1.5 =

Example 2. f(x) = x3 - 4
Solve for x using the secant method
Perform 4 iteratrions

This is how you solve for the iterati

f(x) =
x0 = 1 y0 = f1 =

x1 = 2 y1 = f2 =

iteration 1st x2 = 1.429 y2 = f 1.43 =

iteration 2nd x3 = 1.550 y2 = f ### =

iteration 3rd x4 = 1.591 Answer y4 = f 1.59 =

iteration 4th y5 = f0 =

iteration 5th y6 = f0 =
n x = 2, f(x) is negative.
een 1 and 2.

x4 - 5
-4
11
-2.42575802469136
-1.16755786061252
0.367759559673616
-0.0357787141290133
-0.000950409179759859

ow you solve for the iterations

x3 - 4
-3
4
-1.08454810495627
-0.272817828789934
0.0304911838568289
Problem Statement. Use the graphical approach to determine the drag coeffi cient c
needed for a parachutist of mass m 5 68.1 kg to have a velocity of 40 m/s after freefalling
for time t 5 10 s. Note: The acceleration due to gravity is 9.81 m/s2.
Solution. This problem can be solved by determining the root of Eq. (PT2.4) using the
parameters t 5 10, g 5 9.81, y 5 40, and m 5 68.1:
lower bound upper bound
iteration xl xr xu f(xl) f(xr) f(xu)
1 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
2 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
3 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
4 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
5 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
6 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
7 -2.0000 -2.000000 -2.0000 0.0000 0.0000 0.0000
8 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
9 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
10 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
11 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
12 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
13 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
14 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
15 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
16 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
17 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
18 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
19 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
20 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
21 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
22 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
23 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
24 -2.0000 -2.0000 -2.0000 0.0000 0.0000 0.0000
va vt

0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000

You might also like