Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KTKadyshev
KadyshevKT
Commits
55f63d14
Commit
55f63d14
authored
Jun 18, 2022
by
KTKadyshev
Browse files
Upload New File
parent
64b9df4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Lab 16.03.22/lab.py
0 → 100644
View file @
55f63d14
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment