An open API service indexing awesome lists of open source software.

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

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`

![image](data/Figure_1.png)