git clone https://github.com/CodePleaseRun/riemann-sum.git
cd riemann-sumDependencies:
matplotlibnumpysympy
python main.py- To be specific, the program is calculating Left Riemann sum. If the function
f(x)is assumed to be a smooth function, all three Riemann sums (Left, Right, Middle) will converge to the same value as the number of subdivisions goes to infinity. - Left Limit & Right Limit are evaluated first. That means input like
gamma(3),exp(2)will be evaluated and converted to float before being used. - The
Pointsinput determines the smoothness of the the functionf(x). It is independent from the number of subdivisions used for calculating Riemann sum.
