keisoku

Single-Variable Function Calculator (Apply f(x) to a Data Column)

Apply square, square root, logarithm, trigonometric and other functions to a list of numbers at once, and compare each input with its result in a table. Multiplying or adding a constant is supported too.

Input

Enter values separated by line breaks, commas, or spaces. Anything that can't be read as a number is ignored automatically.

Function to apply

Result

Applied function (6 values)

Values computed

6

Sum of results

155

Mean of results

25.833333


Inputs and results

#Input x
111
224
339
4416
5525
610100

How it works

  • Numbers can be separated by line breaks, commas, or spaces. Anything that can't be read as a number is ignored automatically, so you can paste data even when headers or units are mixed in.
  • There are 12 functions to choose from: square, square root, reciprocal, common logarithm (log₁₀), natural logarithm (ln), exponential (eˣ), sine, cosine, tangent, absolute value, multiply by a constant, and add a constant. For the constant-based functions you can enter any value a.
  • Square root accepts only values of 0 or greater, the reciprocal excludes 0, and logarithms accept only positive values. Values outside the domain are shown as “—” in the table and excluded from the count, sum, and mean.
  • Trigonometric functions (sin, cos, tan) are computed in radians by default. To enter values in degrees, switch the angle unit to “Degrees” and they are converted to radians internally before the calculation.
  • The sum and mean of the results are a simple arithmetic mean (sum ÷ count) over the values that could be computed. Note that these are not statistics such as variance or standard deviation.