Skip to content

Your first calcsheet

This is the “Hello, world!” of Maths Explore. In ten tiny steps you’ll give a sheet a heading, define a function, call it, convert the answer to feet, and watch everything update when an input changes. It takes about three minutes. You’ll need to be signed in; Getting started covers that, or you can follow along in the no-account demo.

On your home page, press New maths sheet.

The home page’s start buttons, with New maths sheet first

The calcsheet options dialog opens with the fresh sheet. Everything in it can wait: press Done to accept the defaults.

The calcsheet options dialog on its Properties page

Click an empty spot near the top of the page. A small marker appears where you clicked, with a toolbar of block types above it.

The insertion marker on the empty page, with the block toolbar above it

With the marker showing, press ’. That’s the shortcut for a text block; you could press Text in the toolbar instead. Type Pythagoras, then press Alt + 1 to format the line as a heading.

A text block formatted as a large heading reading Pythagoras

Alt + 1 to Alt + 4 set the four heading levels. Add Shift and the headings number themselves through the sheet.

Click below the heading and type a:3.m, just like that. The : key types the assignment symbol :=, and .m attaches the unit metres, shown in blue. Then click a little lower and type b:4.m the same way. (Sides of 3 and 4; anyone who has ever set out a right angle knows where this is going.)

Two maths blocks reading a := 3.m and b := 4.m

Click below again and type:

x(y,z):sqrt(y^2+z^2)

That defines as your own function: give it any two lengths and it returns the hypotenuse. Its name turns purple, and sqrt is green because it’s a built-in. The parameters and live only inside the function, so they don’t clash with anything on the sheet.

A maths block defining the function x of y and z as the square root of y squared plus z squared

6. Call it, with a proper engineering name

Section titled “6. Call it, with a proper engineering name”

Click below once more and type c_1:x(a,b). The underscore drops into a subscript, and when you press : the caret hops back out on its own, so the name comes out as .

A maths block reading c sub 1 := x(a, b)

Subscripted names are ordinary variables, which is how engineering symbols like stay writable. The block shows no result yet, and that’s the next step.

A definition keeps its result to itself by default. Right-click the block and choose Show Evaluation.

The block’s right-click menu, with Show Evaluation in the list

The result appears inline, units and all:

The block now reading c sub 1 := x(a, b) = 5.0000 m

Click the small at the end of the result. That’s the block’s result unit box. Replace it with ft and press Enter:

The same block with the result converted to 16.4042 ft

Only the display converts – the maths underneath stays exact. Clear the box to go back to the natural unit.

This is the point of a calcsheet. Click into the first line, change the to a , and click away:

The whole column with a := 6.m and the result now 23.6585 ft

The result follows immediately – still in feet. Every block on a sheet works this way. Change any input and everything that depends on it recalculates, in reading order down the page.

Click the name at the top of the workspace and type something memorable.

The header with the calcsheet named Hello maths

There is no save button to remember: moments after each change, Autosaved appears at the right of the header, and the sheet is kept in this browser. You’ll find it on your home page under Autosaved next time. When you want a file on disk, use Save in the worksheet menu (the ☰ button) for a portable .mez file.

  • Make the result pretty: right-click a block for decimal places, or explore the toolbar’s symbols, fractions and Greek letters.
  • Keyboard shortcuts to write sheets without the mouse, including Enter for a new maths block below the current one.
  • Tables and Matrices when one value at a time stops being enough.
  • The worked samples show full calcsheets you can open and pull apart.