Engineering >> Computer Science & EngineeringImplementation of an (e^x) MacLaurin series with C programmingby Kevin Velez-Santiago
Submitted : Fall 2018
The project was mainly revolved around an interest that involves my field of career. As a result, this project revolved around programming and computers that are used in everyday life. As a student, who has used calculators in everyday life, one must wonder how the calculator functions and what does the software incorporate in its functions to make these calculations possible. For example, ex can be found using the Maclaurin Series that belongs to it. With the use of the Integrated Development Environment (IDE) CodeBlocks, the Maclaurin Series for ex was coded in the software and tested to see if ex, found at x=20, will match up with the answer provided by the calculator. In order to code ex, I had to employ many programming concepts such as loops, libraries and functions. With the results from the code, the results were found to be correct by the results matching together, meaning that the code input into CodeBlocks was a success. Although the code is set to match the result from the calculator, there must be a certain amount of terms to match up with the calculators. If you have a lower amount of terms, then the result will be less accurate, but it is accurate with finding in that term amount. This code found can be taken as an example to show how some calculators can be programmed with these codes to figure out these equations.
|