Posts filed under “maths”

Least common multiples – the scenic route

I've been back to Edinburgh for a family reunion and got to spend a morning with my dad who's a maths teacher by trade — I always thought he might be interested in haskell but never got the time to really look at some stuff in a bit of detail. I'd been pointed at Project […]

Trigonometry reprise

I whined on IRC about my inability to do simple trig and dakkar kindly took me through the basics of a cosine. So I sat down later to look again at an exercise I'd skipped: 2.2 to defined the function: > regularPolygon :: Int -> Side -> Shape> But I realised that I still couldn't […]

Chapter 3. SOE

If I found the exercises in chapter 2 a little hard, the fact that thereare only two of them in this chapter should have been a warning… Amusingly, Hudak suggests that the module SOEGraphics will notevolve, as it is designed for the textbook, however, as it happens, ithas changed its API in a significant way […]