Treatise on arithmetic, in theory and practice. With an appendix, containing an introduction to mensuration