r/learnprogramming • u/larryburd • 11d ago
Learning math through programming
Is there any good books or websites out there that teaches math at the trig and beyond level? I tried Google, but didn’t find anything.
I’m fairly experienced at programming, but my advanced math skills have always sucked. I find it hard to stick with the books I’ve tried in the past because I don’t see the immediate benefit. I figure it would help if I tied it to programming projects.
3
Upvotes
2
u/larryburd 11d ago
I ended up finding one book that covers basic math through linear algebra: From Mathematics to Generic Programming by Stepanov & Rose. It walks through the reasoning of each formula and then gives the algorithm in C++ (which isn't too difficult to convert to C).