Numerical Differentiation 5 Point Formulae
Numerical Differentiation 5 Point Formulae
1. Increased Accuracy: The 5-point formula incorporates more data points, making it generally more
accurate than the 3-point formula. It provides a better approximation of the derivative by averaging
over more neighboring points, which reduces errors and noise in gradient estimation.
2. Higher Order of Precision: The 5-point formula is a higher-order numerical differentiation method.
This means it can capture changes in the function more effectively, particularly for functions with rapid
or complex variations.
3. Reduced Impact of Boundary Effects: The 3-point formula is limited to immediate neighboring
points, which can lead to boundary effects and inaccuracies near the edges of the data set. The 5-point
formula mitigates this issue by considering a wider neighborhood, reducing these boundary errors.
4. Flexibility in Data Resolution: For datasets with larger step sizes h or fewer data points, the 5-point
formula can still provide accurate derivative estimates, making it more versatile compared to the 3-
point method.
MATHEMATICAL REPRESENTATION
2.1 −1.709847
2.2 −1.373823
2.3 −1.119214
2.4 −0.9160143
2.5 −0.7470223
2.6 −0.6015966
The data in is taken from the function𝑓(𝑥) = tan 𝑥. Compute the actual error.
PRACTICE QUESTIONS
Use the formulas, as accurately as possible, for each missing entry in the following table.
𝒙 𝒇(𝒙) 𝒇′ (𝒙)
-3.0 9.367879
-2.8 8.233241
-2.6 7.180350
-2.4 6.209329
-2.2 5.320305
-2.0 4.513417
The data is taken from the function𝑓(𝑥) = 𝑒 𝑥/3 + 𝑥 2 . Compute the actual error.
𝒕 (hours) 3 6 9 12 15
𝑻 (℃) 15 18 22 24 23
A. Calculate the rate of change of temperature at all values of time using the most
appropriate formula among the 3-point or 5-point formulae. For each calculation,
specify which formula you are using—whether it is the mid-point, first end-point, or
last end-point formula.
B. Determine the time intervals where the rate of temperature change is
a. Positive (temperature increasing)
b. Negative (temperature decreasing)
c. Zero (temperature constant)
C. What does the answers obtained in part ‘A’ signify about the behavior of temperature?
Discussion:
The rate of temperature change provides insight into the dynamics of heating and cooling
during the day. Discuss how this analysis might reveal:
The fastest warming or cooling periods.
Times of day when temperatures stabilize.
Applications of this data, such as planning energy usage during peak cooling or
heating periods.
Are there any anomalies in the rate of change? If so, what could they indicate (e.g., sudden
weather changes, errors in data collection)?
Qs. In a circuit with impressed voltage 𝐸(𝑡) and inductance 𝐿, Kirchhoff’s first law gives
the relationship
𝑑𝑖
𝐸(𝑡) = 𝐿 + 𝑅𝑖
𝑑𝑡
where 𝑅 is the resistance in the circuit and 𝑖 is the current. Suppose we measure the current
for several values of 𝑡 and obtain
𝒕 1 1.01 1.02 1.03 1.04
𝒊 3.10 3.12 3.14 3.18 3.24
COMPARISON