Skip to content
Snippets Groups Projects
Commit 55f63d14 authored by KTKadyshev's avatar KTKadyshev
Browse files

Upload New File

parent 64b9df4b
No related branches found
No related tags found
No related merge requests found
from math import ceil
def left (t0,tk, h,func):
n =ceil((tk-t0)/h)
result =0.0
for i in range (0,n-1):
result +=func(t0+i*h)
result*=h
return result
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment