Archives for September 2009

Remembering Trigonometric Addition Formulas

The addition formulas for sine and cosine look like this:

\begin{aligned}
\cos(\alpha + \beta) &= \cos \alpha \cos \beta – \sin \alpha \sin \beta, \\
\sin(\alpha + \beta) &= \cos \alpha \sin \beta + \sin \alpha \cos \beta. \\
\end{aligned}

I can never remember them [...]

Release: SputArithmetic 0.1

This is the first release of the SputArithmetic library. You can download the library or read about it.

Useful Properties of the Floor and Ceil Functions

This articles explores some basic properties of the integer functions commonly known as floor and ceil. Most of the statements may seem trivial or obvious, but I, for one, have a tendency to forget just how exact you can be when it comes to expressions/equations where floor or ceil functions appear.