Flash Math Precalculus + Cal I & II
Using the custom SimpleGraph class from flashandmath.com
Using the custom SimpleGraph class from flashandmath.com
An alternate title for this tutorial could be, "How to make a functional grapher in 30 lines of code." With the custom SimpleGraph class available from flashandmath.com, creating a graph of an expression in one variable is a snap. Although the example in this tutorial shows a graph in rectangular coordinates, the SimpleGraph class supports graphs in parametric and polar coordinates as well. For additional examples of using the SimpleGraph class as well as the fundamentals of graphing that make the class work, see our new book, Flash and Math Applets: Learn by Example, linked on the bottom right side of this page. In the applet shown below, the user enters minimum and maximum values for x and y and an expression in the variable x. Hitting the "Enter" key then graphs the expression. The values for x and y can include expressions like "pi" or "sqrt(2)". DownloadDownload both fla files for this tutorial, along with the folder of class files and their documentation, in the following compressed folder. NotesThe examples here require the following import statement so the SimpleGraph class is available to our code. The folder flashandmath included in the compressed file above must be in the same directory as the fla file for the applications you develop using this custom class. import flashandmath.as3.tools.SimpleGraph; |
We gratefully acknowledge the past support of the National Science Foundation, the Mathematical Association of America, and the Mathematical Sciences Digital Library. |
Back to Basic Tutorials Back to Flash and Math Home
It has been developed with partial funding from the National Science Foundation and the Mathematical Association of America.
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
References: 1. J. Lewin, M. Lewin, An Introduction to Mathematical Analysis, 2nd ed, McGraw-Hill, 1993. 2. K. R. Stromberg, An Introduction to Classical Real Analysis, Wadsworth, 1981. |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
www.flashandmath.com |
References: 1. J. Lewin, M. Lewin, An Introduction to Mathematical Analysis, 2nd ed, McGraw-Hill, 1993. 2. K. R. Stromberg, An Introduction to Classical Real Analysis, Wadsworth, 1981. |
www.flashandmath.com |
www.flashandmath.com |
Description | Exercises | Solutions | About... |
Numerical computation of series
|
Description and input | Exercises | Solutions | About... |