https://github.com/jakeroggenbuck/integrate
Calculate the integral
https://github.com/jakeroggenbuck/integrate
c calculus math
Last synced: 16 days ago
JSON representation
Calculate the integral
- Host: GitHub
- URL: https://github.com/jakeroggenbuck/integrate
- Owner: JakeRoggenbuck
- Created: 2022-04-18T02:57:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T02:59:50.000Z (about 4 years ago)
- Last Synced: 2025-02-25T03:13:44.305Z (over 1 year ago)
- Topics: c, calculus, math
- Language: C
- Homepage:
- Size: 290 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# integrate
## Build
- Run `./scripts/build.sh`
## Config
You can replace this function with anything you would like to find the antiderivative of.
```c
double function(double x) {
// f(x) = x^3 + 4x + 2
return (pow(x, 3) + 4 * x) + 2;
}
```
## Run
- Run `./cmake/derive > data/out.csv`
- Run `python3 plotting/main.py`
