vdcalc.html - tiny javascript app for calculating voltage dividers
  Copyright (C) 2009  Clifford Wolf <clifford@clifford.at>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  ---------------------------------------------------------------------

  This program finds the best combination of two, three or four resistors
  with a tolerance of 1% from the E6 series to create a voltage divider
  fitting the configured requirements.

  Voltages are specified in Volts. Resistances are specified in Ohm.
  The SI-prefixes 'k' and 'M' are supported.

          O---------+
                    |
          ^         |
          |        R_1
          |         |
          |         |
      V_1 |         +---------O
          |         |
          |         |         ^
          |        R_2        | V_2
          |         |         |
                    |
          O---------+---------O

V1=V     V2=V     =Ohm (+/-%)

R1Topology=     R2Topology=

...