EZ Math Movie, Tutorials, Drawing Functions, Sine Wave

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/content/72/6096072/html/ezmathmovie/tutorials/functions/sineWave/sineWave.php on line 55

Warning: include(http://ezmathmovie.com/php/mainMenuView.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/content/72/6096072/html/ezmathmovie/tutorials/functions/sineWave/sineWave.php on line 55

Warning: include() [function.include]: Failed opening 'http://ezmathmovie.com/php/mainMenuView.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/72/6096072/html/ezmathmovie/tutorials/functions/sineWave/sineWave.php on line 55

Changing the graph bounds

This tutorial shows how to draw a trig function. When doing this, the x-axis is often used to represent an angle. Here we will set up the x-axis so that it runs from -360 degrees to +360 degrees. We will be graphing the sine function, and it has an output range of -1 to +1. Our graph will be set up for y-coordinates from -2 to +2, so all of the function output values will fit on the graph.

The switch to these new bounds is done automatically for you on this page, but, of course, you could do this manually by clicking on the appropriate bounds from the drop down selections on the graph panel.

A useful set of trig bounds

Trig graph bounds

Running the example program

The example program draws a sine function twice. The first time it uses the point to point drawing method. The second time it uses the line segment method.

Click the 'Go' button and you will see the familiar sine wave.

The example program

Angle measurement: Degrees Radians

Go on input

Sorry, apparently this browser does not support HTML 5 canvas tag graphics.

Edit: Runtime          View: Starter Suggestion

To runtime:


Editor width: Normal Wide








Next tutorial: The input gizmo

All contents of EZ Math Movie are copyrighted: Copyright 2011, Edward A. Zobel. All rights reserved.

Other sites you may find interesting

Zona Land Education Like Math and Physics?

Zona Land Education offers explanations, diagrams, and animations on these topics.
And it is all presented in a clear and casual manner.

Here is the link: zonalandeducation.com

EZ Programing Demos Want to learn about programing computers?

EZ Programing Demos has an animated, slow motion, interactive programing language demonstrator.
The site presents basic ideas at a beginner's level.

Here is the link: ezprogramingdemos.com

Custom Search