Speaker
Description
COMPARISON OF NUMERICAL INTEGRATION BETWEEN
SIMPSON'S
METHOD AND ROMBERG USING PERL
HYPERTEXT PREPROCESSOR PROGRAMMING
RISKA RAHMAWATI HASAN
NIM E1R020121
ABSTRACT
Difficult integral problems that cannot be solved analytically often require
numerical approaches. PHP (Perl Hypertexr Prepocessor) programming has
become one of the tools that can be used to solve numerical problems. This
research aims to develop a numerical integration program using the Simpson
method and Romberg method on polynomial, exponential, and trigonometric
functions with PHP programming, as well as to compare the efficiency of both
methods based on relative error and execution time. Based on the implementation
of the algorithms of both methods in PHP programming, the research results
show that the average error for the Simpson
method and Romberg method are
and , respectively. The comparison of errors between
these two methods indicates that the Romberg method is more accurate
than the Simpson
method. However, in terms of program execution time, the
Simpson
method requires less time compared to the Romberg method. The
average execution time for the Simpson
method and Romberg method are
seconds and seconds, respectively, and the comparison of
execution time between these two methods shows that the Simpson
method is
shorter than the Romberg method when using the same number of iterations.
Keywords: Method Comparison, Numerical Integration, Simpson
, Romberg,
PHP Programming.