Math for CS Review

From Computer Science
Revision as of 18:56, 6 January 2020 by Jkinne (talk | contribs) (Created page with "Miscellaneous Order of operations: first parenthesis, then exponents, then multiplication and division, then addition and subtraction. And left to right. Powers/exponents 2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Miscellaneous

Order of operations: first parenthesis, then exponents, then multiplication and division, then addition and subtraction. And left to right.

Powers/exponents 210 = 1024, roughly 1 thousand 2a+b = 2a × 2b ya+b = ya × yb 2-a = 1 / (2a) 220 = 1024 × 1024, roughly 1 million 230 = 1024 × 1024 × 1024, roughly 1 billion Logarithms logbx = y means by = x logbx = logcx / logcb log210 is about 3.32 logb(xy) = y logb x