## Classes vs. Data Structures

What is a class? A class is the specification of a set of similar objects. What is an object? An object is a set of functions that operate upon encapsulated data elements. Or rather, an object is a set of functions that operate on implied data elements. What do you mean by implied data elements”? The functions of an object imply the existence of some data elements; but that data is not directly accessible or visible outside of...

## Integers and Estimates

What is this: a^2 + b^2 = c^2 The Pythagorean Theorem. Right. What else is it? An equation in three unknowns. Do you know some solutions to this equation? Sure. (3,4,5) and (5,12,13). Right. Those are common pythagorean triplets. Do you know others? Well, Google is my friend, let’s see. (typing) It looks like (7,24,25) and (9,40,41) all satisfy the equation. Have you noticed that you’ve only supplied integer...