Brian Dunning's FileMaker Custom Functions

sinSeries ( angleInRadians ; series ; k )

sinSeries returns the sine of an angle as precise as you want, without the limitations of the built-in sine function

  Average rating: 4.4 (28 votes) Log in to vote

Jeremy Bante   Jeremy Bante
OshVay Systems, Inc.

Share on Facebook Share on Twitter

  Sample input:
sinSeries( 1; 0; 0);
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

With FileMaker 7 came the capacity for storing numbers with 400 decimal digits of precision. However, FileMaker's built-in trigonometric functions still only evaluate to 16 places; sinSeries returns the sine of an angle [in radians] as precise as you want (with use of the SetPrecision function) by recursively adding the terms of a power series. The last two arguments to the sinSeries function are for the function's own use in recursive calls, and each should always be 0 when called by the developer.



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.