Appendix G: Functions
Differentiation
VX4792 User Manual
This appendix covers the following items:
H Differentiation
H Integration
H Random (rnd) function
The diff() function calculates the central deviation as the differential value. The
equation below expresses the central deviation when the function f(x) is given at
even intervals of nx.
f (x ) Dx)–f (x–Dx)
f (x) [
(2 Dx)
In actual practice, when function f(x)is expressed by n values, the differential
value f'(x
) at point x
is given by the following equation:
i
i
{f (x
)–f (x
) [ n
i)1
i–1
f (x
i
2
Here, n is the number of waveform points and i is an integer in the range, i = 1,
2, ..., n.
)}
G-1