Generates an arc-sine series in accordance with the specified parameters.
GASIN(length, spacing, factor, offset)
length |
- |
An integer, the length of the output series. |
spacing |
- |
A real, the spacing (delta x) between each point on the |
factor |
- |
Optional. A real, the expansion factor along the |
offset |
- |
Optional. A real, the offset along |
A series.
gasin(100, 0.1, 0.2, 0.3)
creates an arc-sine series of 100 points spaced 0.1 x-units apart. The series will also be shifted by 0.3 (the offset value) on the x-axis, and compressed by a factor of 0.2.
The formula used to generate each point, n, in the series is as follows:
y[n] = ASIN(spacing • factor • (n-1) + offset)