mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-21 08:42:03 +00:00
Update maths/trapezoidal_rule.py
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
This commit is contained in:
parent
aa5a8858ea
commit
79ed4e77f9
|
@ -9,7 +9,7 @@ Method 1:
|
|||
"""
|
||||
|
||||
|
||||
def method_1(boundary, steps):
|
||||
def trapezoidal_rule(boundary, steps):
|
||||
"""
|
||||
This function implements the extended trapezoidal rule for numerical integration.
|
||||
The function f(x) is provided below.
|
||||
|
|
Loading…
Reference in New Issue
Block a user