Skip to content

Baranll0/TaylorSeries-cosx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Numerical Analysis

What is Taylor Series?

In mathematics, the Taylor series is the representation/expansion of a function as an infinite sum of the terms of that function calculated from the derivative values at a single point.


What did I do in this app?

We want to find the value of the cos 𝑥 function at the point 𝜋/5 by calculating the Taylor series. And then we compare it with its real value.


Tech use:


Modules I use:


Algorithmic explanation:

-We get the step count information from the user.
-We define the value of x.(𝜋/5 for this application)
-We take the derivative of cosx in the loop and substitute it in the taylor series formula.
-Then we calculate cos(𝜋/5) to find the true result.
-For cutting error (Actual Value - approximate value calculated by Taylor Series)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages