How would I learn advanced maths for scripting?

Hey, I’ve been scripting for a few years and it always comes to my attention that a weakness of mine tends to be things that require maths/physics. At the moment I would say I have a pretty good grasp of things like calculus and physics/mechanical side of maths, but when it comes to scripting, it feels like all of my knowledge becomes obselete and I often find myself referring to other sources.

How would I go about improving this?

1 Like

Khan Academy is a godsend for stuff like this. Just search youtube for “khan academy calculus playlist” and it teaches you basically the entirety of calc 1. Beyond that random websites YouTube, Wikipedia, etc. are helpful.

For instance if I wanted to model projectile motion, I would use the integration skills I learned from sal to understand this post from scriptinghelpers, and then use the wikipedia article and nasa to understand air resistance.

Referring to other sources and researching is just a part of programming. No shame in learning new things and referencing the devforum or stack overflow, as its impossible for one person to keep all the knowledge in the world to themselves.

3 Likes

If you want to learn more about the math itself, I would suggest mathisfun.com. They cover a variety of topics such as calculus, geometry, physics, etc. and explain it in a way that’s supposed to be kid-friendly.

Here’s two screenshots of their website to demonstrate: