EZ Math Movie, Tutorials, Mathematics, Trigonometry

A bit of trigonometry

Very simply put, trigonometry is a math topic that is centered around certain functions of angles. We are not going to explain trigonometry here. We are going to explain how the trigonometric functions are used in EZ Math Movie.

We will look at three trig functions in EZ Math Movie: sine, cosine, and tangent.

The functions and angle measurement

By default, angles in EZ Math Movie are measured in degrees. So, if you wanted to take the sine of 30 degrees and place that value into x, it would code like this:

x = sine(30);

For the cosine and tangent it would look like this:

x = cosine(30);
x = tangent(30);

Note that in many math systems or calculators these functions are spelled 'sin', 'cos', and 'tan', each with their obvious meanings. In EZ Math Movie we use the complete words for these functions, mostly because here these functions work a bit differently than what is usually encountered. Here the trig functions by default accept degrees, and usual implementations of trigonometry do not. Often angles are measured in radians rather than degrees. You can do this in EZ Math Movie, too. Check out the 'Closing notes' sections within the tutorials.

Running the example program

The example program uses the variable angle as the argument to the trig functions. It is set to a certain number of degrees, and then the sine, cosine, and tangent of that angle are calculated. These values are then printed out.

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: Other (mathematics)

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