Trigonmetry begins with the circle

The first shape we learn is the circle. Easy to see why if you’ve ever been on an airplane ride in the dining room. Interesting enough, within the circle is contained all the math we will ever need to know.

The following is Ruby code. Can we port this to other languages and maintain the utility? We venture, yes. Let’s use this topic to explore how other languages express the same thing, and show their strengths. Python, R, Haskell, ES. &c. are welcome. We don’t have to be able to run them, but they should read true so that if we ever do…

implicit return - Replit

Also interesting enough that the discovery we credit Pythagoras with though it came about much earlier in terms of humanity, would end up defining the circle. Who’d o’ thunk?

5 Likes