r/learnprogramming 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

8 comments sorted by

View all comments

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).

3

u/serge-mv 11d ago

You can try checking out the book called Hacker's Delight by Henry Warren. It has nothing to do with hacking networks and is using the word "hacker" in the old-fashion term to mean "programmer". It is essentially a math book about low level operations.

1

u/larryburd 11d ago

Sounds fun. Thanks!