Generic arithmetic
Relevant sections in text: 2.4, 2.5
This assignment is based on sections 2.4 and 2.5 of the text, which discuss a generic arithmetic system that is capable of dealing with rational functions (quotients of polynomials).Files for download:
ps5.tex
TeX source for the assignment. ps5.ps
Postscript file for printing the assignment ps5-code.scm
put-get.scm
types.scm
Scheme source code required for this assignment. To download files, hold down shift while clicking on the appropriate link.
To view files, click on them.
To see directory listing, click here.
Copyright © 1985-1996 Massachusetts Institute of Technology.
The material in these problem sets may be duplicated, modified, and redistributed for any non-commercial use in conjunction with the book Structure and Interpretation of Computer Programs.
Return to sample assignment page
Last modified August 30, 1996