Professional Documents
Culture Documents
Irregular Boundary Area Computation by Quantic Her
Irregular Boundary Area Computation by Quantic Her
net/publication/267366470
CITATIONS READS
0 888
4 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
I published three books based on my PhD. and D.Sc. Dissertation, research work and now, I am preparing for publishing two books based on my D.Sc. research work.
Further, I will publish two other books. View project
All content following this page was uploaded by Jamal Muhamad Amen Ahmad on 05 April 2015.
Abstract
1. INTRODUCTION
The term “area” in the context of surveying refers to the area of a tract of a
land projected upon the horizontal plane, and not to the actual area of a land
surface [3].It is often necessary to compute the area of a tract of a land which may
be regular or irregular in shape (Fig.1).Land is ordinarily bought and sold on the
basis of cost per unit area [5]. Some rules were used recently by a surveyors and
engineers for computation of irregular boundary of a tract, such as trapezoid and
Simpson’s one third rule. There is no limitation in trapezoidal rule , this rule can
be applied for any number of ordinates and, it can be applied while boundaries
between the ends of ordinates are assumed to be straight, area by this rule is equal
124 J. Karwan Hama Faraj et al
to the product of the common interval h and the sum of intermediate ordinates
plus average of the first and last ordinates. In Simpson’s rule ,the boundary
between the ends of ordinates are assumed to form an arc of a parabola, hence
Simpson’s rule is some times called the parabolic rule, this rule can be applicable
only when the number of divisions is even (the number of ordinate is odd),and the
boundary between the ordinates is considered to be an arc of a parabola [3].
Simpson’s one third rules were extended for unequal intervals by [6] .Presented a
method that employed different polynomial functions using salient boundary
points [1]. A new trial done here in this paper for deriving a new formula for
calculating irregular boundary area by using quantic hermite polynomial , then we
showed numerically that our formula results better than the used methods such as
Simpson’s and Trapezoidal rules .
Consider an irregular boundary for which the offsets y0 , y1 ,..., yn are measured
at x0 , x1 ,..., xn where n is the number of intervals (Fig.1).The corresponding
intervals are hi = xi +1 − xi , i = 0,1,2,..., n − 1 .The actual boundary for each interval
is approximated by a QH polynomial ,which is defined class of Hermite
polynomials [2,4]. The QH polynomial is defined in below, followed by area for a
single QH, the composite QH formula for unequal intervals, and the special case
of equal intervals.
Consider the interval ( xi , xi +1 ) in (Fig.3). A quantic Hermite polynomial for this
interval is a five-degree polynomial passing through the two points ( xi , yi ) and
( xi +1 , yi +1 ) and satisfying the first and second derivatives at xi and xi +1 .The QH
polynomial is:
Qi ( x) = ai + bi ( x − xi ) + ci ( x − xi ) 2 + di ( x − xi )3 + ei ( x − xi ) 4 + f i ( x − xi )5 (1)
This satisfies the six conditions
Qi ( xi ) = yi , Qi ( xi +1 ) = yi +1 , Qi( k ) ( xi ) = yi( k ) And
Qi( k ) ( xi +1 ) = yi(+k1) , i = 0,1,2,..., n − 1 and k = 1,2. (2)
Clearly, in definition of Qi (x) we have six unknowns which are ai , bi , ci , di , ei and
fi
To find each of these, we must use all conditions in (2) as:
at x = xi , Qi ( xi ) = yi → ai = yi (3)
2 3 4 5
at x = xi +1 , Qi ( xi +1 ) = yi +1 → ai + hibi + hi ci + hi d i + hi ei + hi f i = yi +1 (4)
at x = xi , Qi′( xi ) = yi′ → bi = yi′ (5)
at x = xi +1 , Qi′( xi +1 ) = yi′+1 → bi + 2hi ci + 3hi d i + 4hi ei + 5hi f i = yi′+1
2 3 4
(6)
y′′
at x = xi , Qi′′( xi ) = yi′′ → ci = i (7)
2
Irregular boundary area computation 125
{ }
−2
h −3 −2 −1
f i = i 12hi ( yi +1 − yi ) − 6hi ( yi′+1 + yi′) + hi ( yi′′+1 − yi′′) (11)
2
Esq. (3), (5), (7), (9), and (10) and (11) give the six unknowns.
The total area from x0 to xn , Au is the sum of the single quantic areas given
by (13). That is
n −1
Au = ∑ Ai (14)
i =0
Eq. (15) is the quantic hermit formula for unequal intervals .This formula, which
involves only a minor modification to the trapezoidal rule is known as the
corrected trapezoidal rule. The first term of (15) is the trapezoidal rule. The
unknown first and second derivatives yi′ and
126 J. Karwan Hama Faraj et al
yi′′ for i = 0,1,..., n are estimated numerically using known offsets .Employing
Taylor’s theorem of order two each of these obtained as follows:
( h + h ) 2 y − h 2 y − h ( 2h + h ) y
y0′ = 0 1 1 0 2 1 0 1 0 (16)
h0 h1 (h0 + h1 )
hi2−1 yi +1 + (hi2 − hi2−1 ) yi − hi2 yi −1
yi′ = , i =`1,2,..., n − 1 (17)
hi −1hi (hi −1 + hi )
hn − 2 (hn − 2 + 2hn −1 ) yn − (hn − 2 + hn −1 ) 2 yn −1 + hn2−1 yn − 2
yn′ = (18)
hn − 2 hn −1 (hn − 2 + hn −1 )
2[h0 y2 − (h0 + h1 ) y1 + h1 y0 ]
y0′′ = , (19)
h0 h1 (h0 + h1 )
2[hi −1 yi +1 − (hi −1 + hi ) yi + hi yi −1 ]
yi′′ = , i = 1,2,..., n − 1 (20)
hi −1hi (hi −1 + hi )
and
2[hn − 2 yn − (hn − 2 + hn −1 ) yn −1 + hn −1 yn − 2 ]
yn′′ = (21)
hn − 2 hn −1 (hn − 2 + hn −1 )
An algorithm for area computation using
(15)- (21) is in Appendix I ,II, and III .
6. Verification
Obtained equation (22) tested on some functions, the results tabulated in
table 1 and table 2, as follow:
Quantic
S Function MATLAB Algorithm
Exact
value
value
Y=f(x)= Syms x
1
Y=int
∫ (x
391
1 5
− 2x 4 + x 3 − 3x 2 + x + 7 )dx 60 ( x ^ 5 − 2 * x ^ 4 + x ^ 3 − 3 * x ^ 2 + x + 7, 0, 1)
0 6.5167
1
Syms x
2 Y=f(x)= ∫ ( x + x + 7 x + 2)dx
5 3 71
5.917
0
12 Y=int( x ^ 5 + x ^ 3 + 7 * x + 2, 0, 1)
Y=f(x)= Syms x
1 64
3 Y=int(
∫ ( 2 x 5 + 3x 4 + 7 x 2 + 1)dx 15
4.27
2 * x ^ 5 + 3 * x ^ 4 + 7 * x ^ 2 + 1, 0, 1)
0
Qunatic Exact
S Function MATLAB Algorithm
value Value
π
Syms x
1 Y=f(x)= ∫ sin(x )dx 2 2
0 Int(sin(x),0,pi)
3π
Syms x
2
2 Y=f(x)= ∫ Cos (x )dx 2 2
π Int(cos(x),0.5*pi,1.5*pi)
2
128 J. Karwan Hama Faraj et al
* Only equal intervals case tested here because derived equations for unequal
intervals is little complex for applying by surveyor, and never can be use
without programmed handheld calculator .It is write some time outside
boundary condition need to choose unequal intervals to obtained a better result
but this case can be treated by selection offsets at regular interval and at closer
distance between offsets
** Exact area was calculated by MATLAB, through entering the data into
EXCEL spread sheet, drawing best curve which can pass the offsets end, then
calculating the coefficients for Quantic Hermite polynomial, and calculating the
exact area through taking integration (see algorithm for MATLAB in appendix II).
7. CONCLUTION
APPENDIX I.
* Step 3: Compute the first derivatives at the first and last offsets, y0′ and yn′ ,
(h0 + h1 ) 2 y1 − h02 y2 − h1 (2h0 + h1 ) y0
y0′ = (23)
h0 h1 (h0 + h1 )
hn − 2 (hn − 2 + 2hn −1 ) yn − (hn − 2 + hn −1 ) 2 yn −1 + hn2−1 yn − 2
yn′ = (24)
hn − 2 hn −1 (hn − 2 + hn −1 )
* Step 4: Compute the first derivative at offsets i , yi′
hi2−1 yi +1 + (hi2 − hi2−1 ) yi − hi2 yi −1
yi′ = (25)
hi −1hi (hi −1 + hi )
*Step 5: Compute the second derivatives at the first and last offsets, y0′′ and yn′′ ,
2[h0 y2 − (h0 + h1 ) y1 + h1 y0 ]
y0′′ = (26)
h0 h1 (h0 + h1 )
2[hn − 2 yn − (hn − 2 + hn −1 ) yn −1 + hn −1 yn − 2 ]
yn′′ = (27)
hn − 2 hn −1 (hn − 2 + hn −1 )
* Step 6: Compute the second derivative at offsets i , yi′′
2[hi −1 yi +1 − (hi −1 + hi ) yi + hi yi −1 ]
yi′′ = (28)
hi −1hi (hi −1 + hi )
*Step 7: Compute the term inside the summation (equation 15), Si
1 1
Si = (hi −1 + hi ) yi + (hi2−1 − hi2 ) yi′ + (hi3−1 + hi3 ) yi′′ (29)
10 120
Set the cumulative term, S, equal to the current value plus Si ; ← S+ Si .
*Step 8: Set i ← i + 1. if i = n ,go to step 9.Otherwise, go to step 4
*Step 9: Compute the required area, Au ,and go to step 11
1 1 1
Au = (h0 y0 + hn −1 yn ) + (h02 y0′ − hn2−1 y′n ) + (h03 y0′′ + hn3−1 yn′′) + S (30)
2 10 120
*Step 10: Compute the required area for equal intervals, Ae
n −1
1
Ae = h[∑ yi + (9 y0 + 4 y1 − y2 + 9 yn + 4 yn −1 − yn − 2 )] (31)
i =1 24
*Step 11: Output ( Au or Ae )
APPENDIX II.
Algorithm for calculation of exact area for the practical field data by using
EXCEL & MATLAB
Step 1:
Enter data into EXCEL spread sheet
Step 2:
Startmatlab (start MATLAB)
putmatrix ( send data to MATLAB)
130 J. Karwan Hama Faraj et al
Step 3:
Define variable name in MATLAB
( defines (x) & y variables )
Step4:
Evalstring ( execute the MATLAB command )
cftool ( open best curve fit window)
Step 5:
Fitting (Draw new fit by selecting 5th degree polynomials ( draw best
curve which can pass offsets end)
Step 6:
Analysis (Calculate area under the drawn best curve by taking integration)
APPENDIX III.
References
[1] F. A. Ahmad , Area Computation Using Salient Boundary Points ,
Journal of surveying engineering, 109(1983).
Notations: