Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine an integral corresponding to a Riemann sum
ResourceFunction["InactiveRiemannSumToIntegral"][fun,{i,1,n},n→Infinity,x] expresses the Riemann sum of fun over i from 1 to n as an integral in the variable x.  | 
Find the integral corresponding to the Riemann sum with summand 
:
| In[1]:= | 
| Out[1]= | 
Find the integral corresponding to the Riemann sum with summand 
:
| In[2]:= | 
| Out[2]= | 
Find the integral corresponding to the Riemann sum with summand Cos[(1+i)/n]/n:
| In[3]:= | 
| Out[3]= | 
If an integral cannot be found, an inactivated form of the limit is returned with a message:
| In[4]:= | 
| Out[4]= | 
This work is licensed under a Creative Commons Attribution 4.0 International License