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

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

0ptions

Go on input

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

Edit: Runtime          View: Starter Suggestion

To runtime:

Storage:

Editor width: Normal Wide

### And....

Next tutorial: The input gizmo

### Other sites you may find interesting

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.

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.

Custom Search

Name:
Domain:

Name
0

Name:
Name
0