Update maths/trapezoidal_rule.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
This commit is contained in:
Julien Richard 2024-10-06 14:21:42 +02:00 committed by GitHub
parent aa5a8858ea
commit 79ed4e77f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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. This function implements the extended trapezoidal rule for numerical integration.
The function f(x) is provided below. The function f(x) is provided below.