cohtran_appliedmath

Flash Math Precalculus + Cal I & II

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)".

Download

Download both fla files for this tutorial, along with the folder of class files and their documentation, in the following compressed folder.

Notes

The 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;

DigiCrafts Logo

Flash Components

PSD to HTML

PSD to HTML

Flash Photo Gallery

Flash Photo Gallery

page-flip.com

Page flip flash component

Flash Gallery

Flash Gallery

Influxis FMS 3 Hosting

Adobe FMS 3 Hosting

cdn

cdn

PSD to HTML

PSD to HTML

content delivery

content delivery

Fuel your Flash Components

Fuel your Flash

Flash and Flex Developer's Magazine

FFD Magazine

Your Ad Here

Your Ad Here

New Book!
$27.99
step-by-step introduction to ActionScript with dedicated chapter on 3D methods in Flash CS4
 
", _a, event, 500,"flashandmath-20","wey","380733", "US", "1439222355");'>A step-by-step introduction to ActionScript with dedicated chapte…

Information About the Book


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

The site www.flashandmath.com is maintained by Doug Ensley (doug@flashandmath.com) and Barbara Kaskosz (barbara@flashandmath.com).
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


Sequences and Series Plotter

 

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

Sequences and Series Plotter

 

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
 
ak =
 
Sequence of partial sums
  n  
 sn  = å   ak
  k = 

from n = to n £   in steps of 
 
 
Last item added: k =  
 
       





Description and input Exercises Solutions About...

Numerical computation of sequences


an =


from n = to n £   in steps of 



Last item processed: n =  












Today, there have been 1 visitors (48 hits) on this page!
=> Do you also want a homepage for free? Then click here! <=