shiffman / LearningProcessing

A repo for examples from the book Learning Processing
http://learningprocessing.com
606 stars 276 forks source link

Figure 7-6 wrong math #207

Open shiffman opened 8 years ago

shiffman commented 8 years ago

the pythagorean theorem is wrong should be:

a^2 + b^2 = c^2
c = sqrt(a^2 + b^2)

oy.