Computer Memory and Arithmetic:
A Look Under the Hood
Dianne P. O'Leary
Sample solution codes:
problem1.m
zip file
of all .m files (but there is only one)