On the purpose of Math in a CS curriculum

It's been a while since I started teaching programming at academia and the question of 'Why is there so much math in our curriculum?' has been raised often by students. It's not like this hasn't been answered quadrillion times with highly varying results, but I'd rather put forth my own understanding of the reasons behind ...

Generating vertices of regular n-sided polygons/polyhedra and circles/spheres

There are a number of applications that make use of circles, spheres, regular polygons and polyhedra. Most of them are in the area of computer graphics and most likely you are reading this because you'd like to know how are those objects generated in 3d modelling tools or perhaps in that awesome drawing library you ...

Linear recurrence relations (or how to solve recursive sequences effectively)

This article will have quite a few equations but they are not as hard to follow as they look so bear with me. Every programmer has written a program that finds the nth Fibonacci number. Some of you did it with recursion, others went a step ahead and used dynamic programming. Still, even with dynamic ...