HOME About NCOT Documentation SineSoft Social Media Support Me

SineSoft

Made from 100% Programmer Art

[Blog] [Prototypes] [Labs]
Maths for Programmers 1 Rearranging Equations

Maths for Programmers 1 Rearranging Equations

Posted:

Straight forward instructions on how to rearrange algebraic equations, all wrapped up in a nice free PDF to download. Don’t fear maths or algebra again!

Become better at maths!

Are you able to write perfectly functional code, but find the language of mathematics somewhat confusing and hard to make sense of? Are you someone who can look at code like this:

int total = 0;
for (int i = 0; i < 10; i++) {
    total += i * 10;
}

but have a complete failing of understanding when presented with equations like this

or can take an equation such as speed = distance / time and use it, but have problems when needing to rearrange the equation to work out the distance travelled?

Me too, and it’s annoying. So what I’m doing is (re)learning some basic maths and creating pretty documents explaining it. The first one can be found behind the link below. It explains how to rearrange equations, including how to deal with fractions. Using this should help you in rearranging simple algebraic equations so that they give the answers you need.

As I learn more maths concepts, they’ll be turned into PDFs and put up here too. I’m not a mathematician, I’m a programmer so where possible this will be explained with the minimum of maths jargon. I’ll translate it into computing jargon instead. However, over time I’m sure the maths jargon will start to make sense.

Click to download the free PDF

Click to download the free PDF

Related Content

  • Component Based Game Engine From Scratch Part 1
    March 10, 2019
    This is going to be the first part in a continuing series where I try to explain how and why I'm creating my own game engine using C++ and the SDL library.

  • Creating a Modern Static Website Using Hugo
    February 8, 2019
    This post is sponsored by hand coded HTML and CSS. Hand coding your HTML is a quick and effective method of getting your presence online! The first 20 people to click the link below will get 100% off their own hand coded website! You will require your own hands and knowledge of HTML.

  • Text printing using bitmap characters in C++ and SDL
    February 4, 2019
    How to print text from a sprite map, using old school programming techniques.

  • 0x03 Documenting things
    February 3, 2019
    I'm going to be making a lot of uninspiring clones of existing games so the process is really the thing I want to write about. My current plan is to pick interesting parts of the code and explain them by using diagrams, some pseudocode, annotated code listings or screenshots.