4. The Discrete versus the Continuous

Society for Industrial and Applied Mathematics eBooks · 2010

4.1 Connect the Dots Plotting Continuous Functions 4.2 From Cyan to Magenta Color Computations 4.3 One Third Plus One Third Is Not Two Thirds The Floating Point Environment There is an interesting boundary between continuous mathematics and digital computing: • Display monitors are an array of dots. However, the dots are so tiny that the depiction of a continuous function like sin(x) actually looks continuous on the screen. • The number of possible display colors is limited. However, the number is so large that for all practical purposes, it looks like we are free to choose from anywhere in the continuous color spectrum. • Computer arithmetic is inexact. However, the hardware can support so many digits of numerical precision that there is the appearance of perfect computation. We begin to think that one third is .333333333333333. In this chapter we build respect for these scientifically based illusions and an appreciation for what they can hide. The stakes are high. In many applications, the volume of data that make up “the answer” is too big for the human mind to assimilate. Increasingly, we must rely upon quality graphics to help us spot patterns that would otherwise be hidden. Will the critical discontinuities of a function be exposed? Will the shading of an object from hot pink to deep purple look real or fake? Regarding arithmetic, if we think of the computer as a kind of telescope, then rounding errors affect what we can distinguish in deep “computational” space. Double stars will look like single stars if we are not careful. Part of being a good computational scientist or engineer is to recognize professionally (not cynically) that seeing is not always believing.

Read the paper · More papers on PaperTik