Skip to content

Instantly share code, notes, and snippets.

@metagoto
Created May 25, 2012 15:37
Show Gist options
  • Save metagoto/2788830 to your computer and use it in GitHub Desktop.
Save metagoto/2788830 to your computer and use it in GitHub Desktop.
a^2 = ?
let a = 50 - b
just for fun cuz we can. see below
then
b = 50 - a
then
a^2 = (50 - b)^2
= 2500 + b^2 -100b
= 100(25 - b) + b^2
but wtf 50?
cuz we want 2uv in (u+v)^2 to give 100v
easier to calculate with powers of 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment