Skip to main content
Search IntMath
Close

450+ Math Lessons written by Math Professors and Teachers

5 Million+ Students Helped Each Year

1200+ Articles Written by Math Educators and Enthusiasts

Simplifying and Teaching Math for Over 23 Years

Tips, tricks, lessons, and tutoring to help reduce test anxiety and move to the top of the class.

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

Using JSXGraph (without data)

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

Tips, tricks, lessons, and tutoring to help reduce test anxiety and move to the top of the class.