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

Page by Murray Bourne, IntMath.com. Last updated: 05 Feb 2017

# 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!

Using D3, and

Using JSXGraph (without data)

## Sine case

t = θ = 0

y = 100 sin(0) = 0

Frame rate = 0 fps

## Cosine case

t = θ = 0

y = 100 cos(0) = 0

Frame rate = 0 fps