This repository implements numerical differentiation methods on cos(x) and e^(x) in C++
- This project implements Forward difference, backward difference, and interpolated difference on an automatically generated data set with different interval sizes (H).
- Use:
g++ -std=c++17 cos.cpp
or
g++ cos.cpp
to run the difference methods on cos(x)
- Use:
g++ -std=c++17 exp.cpp
or
g++ exp.cpp
to run the difference methods on e^(x)