Array Integral
The waveform is integrated using Simpson's rule, fitting a parabola to every 3 points with the equation:
y[2i + 1] = (waveform[2i] + 4 × waveform[2i +1 ] + waveform[2i + 2]) × dt/3
Units
Volts × Seconds
X Units
Seconds
Resulting Array Size
inputSize – 2