An elementary approach to the analysis of variance for balanced designs is sketched and illustrated with an analysis of a repeated measures design.The approach is based on a conceptually simple algorithm that computes the usual linear decomposition of the data by repeatedly calculating and removing averages for groups of observations corresponding to the sources of variation in the design.An interactive computer program, written in Applesoft Basic, is available for use in teaching the algorithm.