from math import log
def f(x):
return (..........)
def rect(n,a,b):
s=0
S=0
h=............
for k in range(n):
s=s+f(............)*...
S=S+f(...............)*...
return (s,"< I <",S)
print (rect(5,1,6))
To embed this project on your website, copy the following code and paste it into your website's HTML: