The Math Block operations follow the 'rules of precedence' This means, if you are careful the Math Blocks can be used for almost any mathematical operation as Chris suggests.
Here is a tutorial that uses the Math Blocks in exactly that way HOW TO: Plot Sunrise/Sunset line on a Map and learn how to use equations for converting formula to Math blocks and provides an explanation. It might be helpful to review.
Also, * Math blocks