Excel Goal Seek
Excel Goal Seek
Equation Cell
Target Value
Cell of which value is to be changed
After pushing OK, the above table will be changed as follows and one can get the answer of X=1.570
X
1.570
2Example of Application
For Hydraulic calculation using Manning Formula, if one tries to obtain h(m) to achieve flow rate of Q(m3/h),
h (m) is included both in the left side and right side of equation.
In this case, h (m) can be easily obtained by using the goal seek function of Excel in spite of adopting Runge-Kutta method
that we learned at FORTRAN or BASIC class.
Manning Formula
v = 1/n I1/2R2/3
Q/A = 1/n I1/2 (A/S)2/3
Q/(wh) = 1/n I1/2 (wh/(2h+w))2/3
v: Velocity of Fluid (m/s)
n: Manning's Coefficient of Roughness
I: Hydraulic Gradient (slope)
R: Hydraulic Radius(m) = A/S
A: Flow Area (m2) = (w h
S: Wetted Perimeter (m) = (2 h + w)
A (m2)
h (m)
w (m)
3Caution
For example, in case of Cubic Equation, we have three(3) answers in general.
In this case, the result of goal seek differs depending upon the initial value.
While getting the answer of (X-1)(X-2)(X-3)=0 by Goal Seek method, the following result has been obtained.
Initial Value
of X
0
0.9
1.1
1.9
2.1
2.9
3.1
4
Convergence
value of X
(Result)
1
1
1
2
2
3
3
3
Prepared by H. Kiyono
Date
17-Jul-09
Final Rev.
19-Nov-14
nge-Kutta method