A table of values lists what an expression gives for each value of a
variable in a range. Write the expression, then for, the variable and the
range. The line shows how many values the table has:
Notes Calculator
Calculation example
Calculation
Result
1f(x) =x^2
2f(x) for x from -2to2 step 0.5
x
f(x)
-2
4
-1.50
2.25
-1
1
-0.50
0.25
0
0
0.50
0.25
1
1
1.50
2.25
2
4
Click the result (tap it on a phone) to open the table and its graph. Here
they are open; click 9 values to fold them away.
The long form names the start, the end and the step. Without a step, the
step is 1:
Notes Calculator
Calculation example
Calculation
Result
1x^2+1 for x from 1to5
x
x^2 + 1
1
2
2
5
3
10
4
17
5
26
The short form puts the range in braces, with the step after a comma:
Notes Calculator
Calculation example
Calculation
Result
1x^2+1 {x: 1...5}
x
x^2 + 1
1
2
2
5
3
10
4
17
5
26
22x +1 {x: 0...1, 0.25}
x
2x + 1
0
1
0.25
1.50
0.50
2
0.75
2.50
1
3
The short form also works with a function you defined before. Write
the function call, then the range:
Notes Calculator
Calculation example
Calculation
Result
1f(x) =x^2
2f(x) {x: -2...2, 0.5}
x
f(x)
-2
4
-1.50
2.25
-1
1
-0.50
0.25
0
0
0.50
0.25
1
1
1.50
2.25
2
4
Any expression that uses the variable works, also one with the note’s
variables and your own
functions. A number right before the
variable multiplies it, so 2x + 1 is 2 times x, plus 1.
A function definition followed by a range defines the function and shows
its table on the same line. You can use the function on the lines below:
Both ends are in the table when the step lands on the end. When it
doesn’t, the table stops before the end: from 0 to 1 step 0.3 gives 0,
0.3, 0.6 and 0.9.
At most 200 rows. A range with more values has no result.
An empty cell means the expression has no value there, such as the
square root of a negative number. The row stays in the table.
One value shows as a normal result:
Notes Calculator
Calculation example
Calculation
Result
1x^2 for x from 3to3
9
The variable alone lists the values in one column, with no graph:
Notes Calculator
Calculation example
Calculation
Result
1x for x from 1to3
x
1
2
3
The table updates when you change the function, the range or a variable it
uses.
The graph draws the function’s curve over the range, with a dot for each
row. It shows next to the table when the table has at least 3 rows, at
least 2 values, and numbers or amounts of one unit in both columns.
The curve follows the function, also between the rows.
The curve breaks where the function has no value. For 1/x, its two
sides never join at 0.
The axes cross at zero. When zero is out of the range, an axis runs along
the edge of the graph.
The axis names carry the units, such as t (s).
Hover over a dot (touch it on a phone) to see its row.
Copy table copies the table as text with a tab between the columns.
Paste it into a spreadsheet, a document or slides. The
answer menu of a table line has Copy table
too.
Save image saves the graph as a PNG picture. On computers you choose
where to save it. On phones the share sheet opens, where you can also save
it to your photos. The web app downloads it.
When you export a note, Markdown, text and
CSV files list the table under its line. A PDF shows the table on the right,
as results are, with its graph beside it. When you import a note you
exported, you get back the lines you typed.