Appendix B: Algorithms
TDS 500C, TDS 600B, & TDS 700C User Manual
B–15
The integration algorithm used by the oscilloscope is as follows:
ŕ
B
A
W(t)dt
is approximated by
ŕ
B
A
W
^
(t)dt
where:
W(t) is the sampled waveform
W
^
(t)
is the continuous function obtained by linear interpolation of W(t)
A and B are numbers between 0.0 and RecordLength–1.0
If A and B are integers, then:
ŕ
B
A
W
^
(t)dt + s
ȍ
B*1
i+A
W(i) ) W(i ) 1)
2
where s is the sample interval.
Similarly,
ŕ
B
A
(
W(t)
)
2
dt
is approximated by
ŕ
B
A
ǒ
W
^
(t)
Ǔ
2
dt
where:
W(t) is the sampled waveform
W
^
(t)
is the continuous function obtained by linear interpolation of W(t)
A and B are numbers between 0.0 and RecordLength–1.0
If A and B are integers, then:
ŕ
B
A
ǒ
W
^
(t)
Ǔ
2
dt + s
ȍ
B*1
i+A
(
W(i)
)
2
) W(i) W(i ) 1) )
(
W(i ) 1)
)
2
3
where s is the sample interval.
Integration Algorithm