Professional Documents
Culture Documents
The interpretation of The interpretation of The interpretation of The interpretation of The interpretation of
data and discussion data and discussion data and discussion data and discussion data and discussion
C. Interpretation of
were not based on the were based on the were based on the were based on the were based on the
data and result and data result and data result and data result and data result and data
discussion gathered during the gathered during the gathered during the gathered during the gathered during the
experiment. experiment, but does experiment, and experiment, and experiment and are
not present clarity. somehow presents mostly presents clarity. presented very clearly.
clarity.
The conclusion was The conclusion was The conclusion was The conclusion was The conclusion was
not based on the based on the based on the based on the based on the
D. Conclusion
objectives and all objectives but not all objectives and few of objectives and most of objectives and all of
ideas are not coherent of the ideas are the ideas are coherent the ideas are coherent the ideas are coherent
or clear. coherent nor clear. but not too clear. and clear. and presented very
clearly.
The words used were The words used were The words used were The words used were The words used were
not appropriate, had somehow appropriate, appropriate, had good appropriate, had very appropriate, had
poor grammar, had had good grammar, grammar, had good good grammar, had excellent grammar,
E. Use of Language
bad sentence had good sentence sentence construction very good sentence had excellent
construction and ideas construction and not and few of the ideas construction and sentence construction
were not clearly all ideas were clearly were clearly almost all of the ideas and all of the ideas
expressed. expressed. expressed. were clearly were clearly
expressed. expressed.
The laboratory report The laboratory report The laboratory report The laboratory report The laboratory report
F. Promptness was submitted two or was submitted one was submitted three to was submitted beyond was submitted on
more weeks late. week late. six days late the time assigned to time.
two days late.
AVERAGE: (A+B+C+D+E+F)/6
Exercise:
1. Open your numerical integration lecture notes and estimate the integral of the given function, f(x) =
xsin3(x2)cos(x2), from x = 0 to x = √π/2 using (a)trapezoidal rule and multiple application trapezoidal
rule, (b) Simpson’s 1/3 rule and multiple application Simpson’s 1/3 rule, (c) Simpson’s 3/8 rule and
multiple application Simpson’s 3/8 rule, for segments n = 2, 4, 6, and 8 segments. (Note: use four (4)
decimal places and the true value equal is equal to 0.125)
2. Improve the trapezoidal integral estimates of the given function in problem (1) using Romberg
integration.
Syntax:
Answer: (Simpson’s 1/3 Rule and Multiple Application Simpson’s 1/3 rule) = 0.0585
Syntax:
Answer: (Simpson’s 3/8 Rule and Multiple Application Simpson’s 3/8 Rule) = 0.02945
Syntax:
Syntax:
Interpretation of Results
Experiment 3 demonstrated numerical integrations using the MATLAB software. Moreover, it was also
discussed in this experiment how to use the different techniques for numerical integration. Numerical
integration is the approximate computation of an integral using numerical techniques, and is sometimes
called a quadrature. The most straightforward numerical integration technique uses the Newton-Cotes
formulas (also called quadrature formulas), which approximate a function tabulated at a sequence of
regularly spaced intervals by various degree polynomials. If the endpoints are tabulated, then the 2- and
3-point formulas are called the trapezoidal rule and Simpson’s rule, respectively. The 5-point formula is
called Boole’s rule. A generalization of the trapezoidal rule is Romberg integration, which can yield
accurate results for many fewer function evaluations. In this experiment, we learned the different methods
in numerical integration through the use of MATLAB. This includes the FUN function. After setting the
parameters to be used, such as the absolute value tolerance and relative error tolerance, we can easily set
the accuracy of the integration.
Conclusion
This experiment deals with numerical integration. The objectives were to define the different numerical
Integration methods, analyze the different techniques in numerical integration, demonstrate the usage of
MATLAB in numerical integration, and to construct a script file for numerical integration operation. All
these were met in the experiment. In Mathematics, numerical integration involves using other techniques
in order to approximate the area under a curve. It does not use the method of integration itself, but rather
the numerical method to it. One such method is the trapezoid rule, where instead of drawing rectangles
for the area of the curve, trapezoids are drawn instead. Even though the result would still be approximate,
it more accurate and closer to the original. By increasing the error estimate, we can get more accurate
results through comparing it with the others. Through MATLAB, we understood more about how the
methods worked, and how to implement them as an algorithm in a computer. Moreover, by creating the
syntax for the algorithm, we also got to understand it more, and thus be able to apply it as a function in
the command window. Even though these methods seem to be longer and more difficult than the ones
previously taught to us, understanding this as well helps us be able to use different approaches when
integrating a problem.