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.
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