EZ Programing Demos

Slow motion, step by step, animated demonstrations of basic computer programing techniques

Links to topics:

Current topic:

About math operations....

As with most computer languages, here we are going to look at math expressions using what is called infix notation. This is the common way of stating math operations. With this method, you place what is called the operator between the operands. For example, if we want to add 2 and 3, then we state:

    2 + 3

Note that the operator, the addition sign, is place between the operands, the numbers 2 and 3. This is common infix notation.

There is also prefix notation for mathematics. The operator comes first. The language Lisp works this way. Adding 2 and 3 looks like this:

    + 2 3

Postfix is hardly common, though a computer language named FORTH uses it. Postfix looks like this:

    2 3 +

Again, we are doing infix notation at EZ Programing Demos.

 

Suggested next article:

At EZ Math Movie

EZ Math Movie is a site that can help you experiment with and understand many topics in mathematics. Its main feature is an interactive animated (x, y) graph that you control with an actual programing language. There are many examples and tutorials, and EZ Math Movie is crossed referenced with both EZ Programing Demos and Zona Land Education.

 

Zona Land Education is a site with explanations and interactive diagrams covering many topics in physics and mathematics. Zona Land Education is cross referenced with EZ Math Movie, and it contains several animations that use EZ Math Movie's programing language.