Calculate a logorithm, which is the power to which a base number must be raised to produce a given number.

Input Fields

  • input: The number to calculate the logorithm for
  • base: The base to use, often 10

Output Fields

  • output: The power to which the base number must be raised

Examples

If input is 100 and base is 10 then output is 2 because 10^2 = 100
If input is 8 and base is 2 then output is 3 because 2^3 = 8