« Back to https://datario-viz.github.io/
  • Datario's Tool Collection

  • Home
  • About

Cubic Function Calculator

This is a calculator that outputs the function values of a given array of numbers. It functions exactly like my calculator, and it is very versatile.

How to Use it?

  1. Input the coefficients a, b, c and d into the function template.
    • If you want a quadratic function, leave a empty.
    • If you want a linear function, leave a and b empty.
    • In general, you can have any expression with maximum power of 3. Empty inputs will be treated as zero.
  2. Input the START, END and STEP values. Hover on them below to see the information.
  3. Click the Calculate! button to execute.
  4. The result will be displayed in the Results section.

The Calculator

Type in the Function:

f(x) = x3 + x2 + x +

Set up the Range:

Results:

Calculation failed.

You haven't calculated yet.

Copy the Results:

Feel free to copy these results and use it in your own projects, such as bar chart race or others. For vertical results, each result is separated by the \n character. For horizontal results, each result is separated by the \t character.

Vertical Data

Horizontal Data

Additional Information

Source

This calculator is written in JavaScript. Click here to view the source file.

Did You Know?

Everytime you refresh the page, the theme color and the background color change! Try it, and it is done by JavaScript as well (with the power of Math.random() function).