https://github.com/cybergeist0/riemann
A program that approximates the definite integral of a relation using Riemann Sum approximations.
https://github.com/cybergeist0/riemann
cpp riemann-sum vectors
Last synced: 7 months ago
JSON representation
A program that approximates the definite integral of a relation using Riemann Sum approximations.
- Host: GitHub
- URL: https://github.com/cybergeist0/riemann
- Owner: cybergeist0
- License: mit
- Created: 2025-02-08T17:01:13.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-23T23:23:58.000Z (8 months ago)
- Last Synced: 2025-02-23T23:27:45.667Z (8 months ago)
- Topics: cpp, riemann-sum, vectors
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Riemann
A program that approximates the definite integral of a relation using Riemann Sum approximations.## Usage
The input to the program is provided in the file `c.in` and requires three lines of input. It should be structured in the format:```
...
```## Types of Approximations
- `left-riemann` - Left Riemann Sum
- `right-riemann` - Right Riemann Sum
- `trapezoidal` - Trapezoidal RuleEnsure `c.in` contains the appropriate input before execution. The output will be written to console.