0% found this document useful (0 votes)
48 views3 pages

Activity Report No 1-Numsol

The student completed a lab activity on using Taylor series to approximate functions, where they used the Taylor series to find the approximate value of the function f(x) = 2/(x+2) at x = 0, recording the results in a table up to the 32nd term when the values converged to around 0.6666666667. The activity helped the student better understand how to use Taylor series to approximate functions through iterative calculation of derivatives.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views3 pages

Activity Report No 1-Numsol

The student completed a lab activity on using Taylor series to approximate functions, where they used the Taylor series to find the approximate value of the function f(x) = 2/(x+2) at x = 0, recording the results in a table up to the 32nd term when the values converged to around 0.6666666667. The activity helped the student better understand how to use Taylor series to approximate functions through iterative calculation of derivatives.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Central Mindanao University

College of
Engineering CE 33A Numerical Solutions to CE Problems, Lab

Activity Report No. 1

Taylor Series of a Function


Maria Kharissa Dabalus Baling
1Student, BSCE2B; [email protected]

Instructor: Engr. Jemima R. Perodes ([email protected])

Date Submitted: 02/10/2023

1. Theoretical Discussion
In mathematics, the infinite sum of terms stated in terms of a single point's derivatives of a function
is known as the Taylor series. Near this point, for most typical functions, the function and the sum of its
Taylor series are equivalent [1]. The Taylor series is a series expansion of a function about a point that
can be utilized to approximate a function [2], and it can used to calculate the total value of the function if
both its value and all of its derivatives are known at the same time [3].

𝑓(𝑥) = ∑ 𝑐𝑛 (𝑥 − 𝑎)𝑛 = 𝑐0 + 𝑐1 (𝑥 − 𝑎) + 𝑐2 (𝑥 − 𝑎)2 + 𝑐3 (𝑥 − 𝑎)3 + 𝑐4 (𝑥 − 𝑎)4 + ⋯


𝑛=0
Eq. 1


𝑥𝑛 Eq. 2

𝑛!
𝑛=0

𝟐
𝒇(𝒙) = at 𝒙 = 𝟎 Eq. 3
𝒙+𝟐

2. Process Flow

Read the laboratory Select a non-polynomial Determine the


instructions, then function in terms of x, approximate value of
perform the assigned and then determine its that function at a
task. Taylor series. certain value of x (0).

Find were the values Calculate for each term


converged. Review of the Taylor Series
and submit the expansion using MS
activity report. Office Excel.

Figure 1. Laboratory Activity Process

CE 31.1, 2nd Semester, S.Y. 2022-2023


CE 31.1, 2nd Semester, S.Y. 2022-2023 Page 2 of 3

The student followed the process after reading the laboratory instructions. The student next selected
2
a non-polynomial function in terms of x that is at x=0. A function's sigma notation was then
𝑥+2
established by the learner. To obtain the Taylor series of the selected function, the student next used
Microsoft Excel. The student filled up the first column with n numbers, the second column with general
terms, and the third column with an approximation of the value. The formula equation two (eq. 2) was
used to get the general term.After that, by calculating and dragging the cell to the appropriate n number,
the sum of the previous approximation value and the general term for the rows was obtained. Lastly,the
student came to a conclusion by identifying the location in the approximate value's column where the
values converge.

3. Observation
The outcomes of the activity that the student completed are shown in the table and figure below..

Table 1. Table of number of terms, General term and Approximate value of the function.

n General term Approx. Value of f(x)


0 1.000000000000000 1.0000000000
1 -0.500000000000000 0.5000000000
2 0.250000000000000 0.7500000000
3 -0.125000000000000 0.6250000000
4 0.062500000000000 0.6875000000
5 -0.031250000000000 0.6562500000
6 0.015625000000000 0.6718750000
7 -0.007812500000000 0.6640625000
8 0.003906250000000 0.6679687500
9 -0.001953125000000 0.6660156250
10 0.000976562500000 0.6669921875
11 -0.000488281250000 0.6665039063
12 0.000244140625000 0.6667480469
13 -0.000122070312500 0.6666259766
14 0.000061035156250 0.6666870117
15 -0.000030517578125 0.6666564941
16 0.000015258789063 0.6666717529
17 -0.000007629394531 0.6666641235
18 0.000003814697266 0.6666679382
19 -0.000001907348633 0.6666660309
20 0.000000953674316 0.6666669846
21 -0.000000476837158 0.6666665077
22 0.000000238418579 0.6666667461
23 -0.000000119209290 0.6666666269
24 0.000000059604645 0.6666666865
25 -0.000000029802322 0.6666666567
26 0.000000014901161 0.6666666716
27 -0.000000007450581 0.6666666642
28 0.000000003725290 0.6666666679
29 -0.000000001862645 0.6666666660
CE 31.1, 2nd Semester, S.Y. 2022-2023 Page 3 of 3

30 0.000000000931323 0.6666666670
31 -0.000000000465661 0.6666666665
32 0.000000000232831 0.6666666667
33 -0.000000000116415 0.6666666666
34 0.000000000058208 0.6666666667
35 -0.000000000029104 0.6666666667

2
Table 1 shows the approximate value of the function f(x) at 𝑥 = 0. The general term reduced as
𝑥+2
the n-value increases, as seen in the table. Additionally, at n=32, as highlighted, the iteration was
discernible with an about 0.6666666667 value.

Figure 1. Given equation and General formula used

4. Conclusion

The findings suggest that the function f(x) 2/(x+2) when x = 0 has approximately the same value of
around 0.6666666667 when x = 1, which was observed at n=32. Thus, the approximate value of the
aforementioned function was thus established through the process of iteration with a constant value, and
converged at the approximate value of f(x) by the 32nd derivative of the given function using the Taylor
series. As a result, the activity was considered to be successful, and the student now has a better
understanding of the topic.

5. References

1 Abramowitz, Milton; Stegun, Irene A. (1970), Handbook of Mathematical Functions with


Formulas, Graphs, and Mathematical Tables, New York: Dover Publications, Ninth printing
2 Singh, V. (2023). Taylor Series Approximation: Definition, Formula, and Example. Naukri
Learning.
3 Taylor Series -- from Wolfram MathWorld. (n.d.).

You might also like