Home | Math Display Experiments | Trigonometry function graphs - Using JSXGraph (with an array)

Page by Murray Bourne, IntMath.com. Last updated: 07 Jul 2019# Trigonometry function graphs - Using JSXGraph (with an array)

Both of these are set to run at 60 frames per sec. The main difference with this one is the use of an array:

singrph.updateDataArray = function() { this.dataX = sinX; this.dataY = sinY; };

Many thanks to Alfred Wassermann for the optimization suggestions!

See also:

Using D3, and

## Sine case

*t = θ = *0

*y =* 100 sin(0) *=* 0

Frame rate = 0 fps

Copyright © www.intmath.com

## Cosine case

*t = θ = *0

*y =* 100 cos(0) *=* 0

Frame rate = 0 fps

Copyright © www.intmath.com