python
import blaisemath as bm
def f(x):
return x**2
result = bm.integrate(f, 0, 1)
python
import blaisemath as bm
x = [1, 2, 3, 4, 5]
y = [2, 4, 6, 8, 10]
slope, intercept = bm.linear_regression(x, y)
python
import blaisemath as bm
A = [[1, 2], [3, 4]]
b = [5, 6]
solution = bm.solve_linear_equations(A, b)