If you associate maths with trigonometry, it might seem a little stretch to associate with programming (although in my own case, my motivation for learning trig was to do graphics programming).
But if you think about the fact that trig comes out of an observation that you can say a lot of things about triangles knowing only the ratios of the sides rather than the actual lengths of the sides, you start getting into more programming-like skills.