0% found this document useful (0 votes)
51 views

Simple Iteration

The document contains a table with x and y values that define two functions: y=2-x and y=x. It then shows the results of using goal seek and iteration in a spreadsheet application to find the x value when the two functions are equal to each other. The value found is x=1.5. Graphs and numerical results from the iteration process are also shown.

Uploaded by

Wai Kit Cheng
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Simple Iteration

The document contains a table with x and y values that define two functions: y=2-x and y=x. It then shows the results of using goal seek and iteration in a spreadsheet application to find the x value when the two functions are equal to each other. The value found is x=1.5. Graphs and numerical results from the iteration process are also shown.

Uploaded by

Wai Kit Cheng
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 7

y = 2-x x y y=x

a 1 0 1 0
b -30 0.1 0.933032992 0.1 a -0.5
c 100 0.2 0.870550563 0.2 b -0.1
0.3 0.812252396 0.3
0.4 0.757858283 0.4
0.5 0.707106781 0.5
0.6 0.659753955 0.6
Goal Seek 0.7 0.615572207 0.7 1.5
2-x - y = 0 0.8 0.574349177 0.8
y=x y 0.9 0.535886731 0.9
0 1 1 0.5 1
1.1 0.466516496 1.1
1.2 0.435275282 1.2 1
1.3 0.406126198 1.3
1.4 0.378929142 1.4
1.5 0.353553391 1.5

y
1.6 0.329876978 1.6
1.7 0.307786103 1.7
1.8 0.287174589 1.8 0.5
1.9 0.267943366 1.9
2 0.25 2

0
-0.1 0.1 0.3
1.5 y = 2-x

1
y

0.5

0
-0.1 0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5
x
VBA x y = f(x) y=x
Step x y 0 1 0
0.1 0.933033 0.1
0.2 0.870551 0.2
0.3 0.812252 0.3
0.4 0.757858 0.4
0.5 0.707107 0.5
0.6 0.659754 0.6
Solve by Iteration 0.7 0.615572 0.7
0.8 0.574349 0.8
0.9 0.535887 0.9
1 0.5 1
1.1 0.466516 1.1
1.2 0.435275 1.2
1.3 0.406126 1.3
1.4 0.378929 1.4
1.5 0.353553 1.5
1.6 0.329877 1.6
1.7 0.307786 1.7
1.8 0.287175 1.8
1.9 0.267943 1.9
2 0.25 2
Iteration

Iteration

1.5

1.3

1.1
y = f(x)
0.9
y=x
Iteration
0.7
y

0.5

0.3

0.1

-0.1 0 0.2 0.4 0.6 0.8 1 1.2 1.4

Iteration

0.655

0.65
y = f(x)
y=x
Iteration
0.645
y

0.64

0.635
0.635 0.64 0.645 0.65 0.655

x
0.64

0.635
0.635 0.64 0.645 0.65 0.655

x
y = f(x)
y=x
Iteration

1.2 1.4

y = f(x)
y=x
Iteration

65 0.655
65 0.655

You might also like