The Trapesio and Romberg methods are two classic numerical methods for calculating integrals. The Trapesio method is a numerical integration method that uses an approach based on the area of a trapezoid, but is often less accurate for non-linear functions. In contrast, the Romberg method, which uses Richardson extrapolation, offers higher accuracy even in working on more complex mathematical functions. The purpose of this study is to compare the accuracy and speed of completion in numerical integration on various mathematical functions. The type of research used is pure experimental. Using the Hypertext Preprocessor (PHP) program, both methods are tested for accuracy and speed in solving the given problem. The results show that the Romberg method provides more accurate results than the Trapesium method with an average error of 0.979% in this study, where the result with the lowest error for the Romberg method is in the integral of the polynomial function with an error of 0%. In the case of the Trapesio method, the average error in this study is 9.497%, where the lowest error for the Trapesio method is in the exponential function integral with an error of 0.178%. However, the improvement of accuracy requires a fairly long program completion time on the Romberg method with an average completion time of 4,400 seconds, where the fastest completion time is seconds. Meanwhile, in the Trapezium method, the time required in program execution is very fast with an average of seconds, where the fastest completion time is seconds.
                        
                        
                        
                        
                            
                                Copyrights © 2024