()
| 71 | |
| 72 | |
| 73 | def main(): |
| 74 | a = 0.0 # Lower bound of integration |
| 75 | b = 1.0 # Upper bound of integration |
| 76 | steps = 10.0 # number of steps or resolution |
| 77 | boundary = [a, b] # boundary of integration |
| 78 | y = method_2(boundary, steps) |
| 79 | print(f"y = {y}") |
| 80 | |
| 81 | |
| 82 | if __name__ == "__main__": |
no test coverage detected