Functional Problem Solving (CSC 151 2015S) : EBoards

CSC151.02 2015S, Class 04: Computing with Symbols and Numbers


Overview

Preliminaries

Admin

Upcoming Work

Extra Credit Opportunities

Academic

Peer Support (Afternoon Section)

Recommended Events (no EC unless mentioned above)

Questions

Topical Review

Model:

Main Points

Difficulties / Questions

Lab

Why is (sqrt 2) rational?

It comes from a number of design decisions in the Scheme language. (sqrt 2) is approximated ("inexact", in Scheme terms). If it's approximated, it's representable as a ratio of two integers. Hence, it's rational.