Hello,
I have a trapezoidal approximation problem, but the subintervals are uneven. Anyone know a formula to use in such a case?
Thank you!
I have a trapezoidal approximation problem, but the subintervals are uneven. Anyone know a formula to use in such a case?
Thank you!

A = ½ (b1 + b2) h
Where:
h = Δx
b1 = f(x1)
b2 = f(x2)
This becomes:
A = Δx * ½ [f(x1) + f(x2)]
Compute the areas of each piece separately if you have different values for Δx.
Where:
h = Δx
b1 = f(x1)
b2 = f(x2)
This becomes:
A = Δx * ½ [f(x1) + f(x2)]
Compute the areas of each piece separately if you have different values for Δx.

it should be even , what's your problem ?