Philip Newton (pne) wrote,
Philip Newton
pne

  • Mood:

Curses! FOILed again! (Or: Random memory)

In mathematics, when we learned to multiple expression such as (a + b) (c + d), we learned to do it with the mnemonic FOIL: first, outside, inside, last.

That is, the result is ac + ad + bc + bd: ac is the product of the first operand in each pair of parentheses (a, c), ad is the product of the "outside" ones (a, d), bc is the product of the "inside" ones, and bd is the product of the last operand (b, d).

Basically, a systematic way to ensure that you don't miss any combinations by doing them in a specific order each time.

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments