SelfscribeDownloadOpen the app

Lab report

Figures, tables and equations number themselves, and every reference follows.

Document · Advanced · uses chart, maths, table

Edit it in the playgroundRead the file

What it shows

Number the figures, tables and equations of a report, and refer to them by number.

What you learn

The academic look, a numbered figure that holds a chart, numbered equations, a results table kept as data, kinds of your own, references that read "Figure 1".

Try this

  • Change the first 20 °C time from 96 to 120, and the mean, the rate and Figure 1 all follow.
  • Add a figure above the apparatus, and the apparatus becomes Figure 3 in its caption and in every sentence that refers to it.
examples/lab-report.self · 166 lines
~~~ selfscribe
# Lesson: Number the figures, tables and equations of a report, and refer to them by number.
# You learn: the academic look, a numbered figure that holds a chart, numbered equations, a results table kept as data, kinds of your own, references that read "Figure 1".
# Try this: change the first 20 °C time from 96 to 120, and the mean, the rate and Figure 1 all follow.
# Try this: add a figure above the apparatus, and the apparatus becomes Figure 3 in its caption and in every sentence that refers to it.
# summary: Figures, tables and equations number themselves, and every reference follows.
# category: study
# tags: document, advanced, school
# uses: chart, maths, table
use markdown
use data
set title Lab report
# One line for the whole page: a centred title, a serif face, numbered sections.
set style academic

# ---- "By: names" and "Abstract: text" under the title: the title block --------------
line    By: _                           -> div.byline
line    Abstract: _                     -> div.abstract
class byline { text-align: center; font-family: var(--doc-font-ui); font-size: 0.86em; letter-spacing: 0.01em; opacity: 0.72; margin: -0.4em 0 1.6em }
class abstract { padding: 1em 2.4em 1.1em; margin-bottom: 1.6em; font-size: 0.93em; line-height: 1.55; border-block: 1px solid color-mix(in srgb, currentColor 16%, transparent) }
class abstract::before { content: "Abstract"; display: block; text-align: center; font: 700 0.78em/1 var(--doc-font-ui); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7em; opacity: 0.7 }

# ---- "::: figure {#name} Caption" ... ":::": a box numbered Figure 1, Figure 2… --------
# The {#name} is the label you refer to. The words after it become the caption.
block   ::: figure {#_} _ ... :::       -> numbered kind=figure label=_1 caption=_2
block   ::: table {#_} _ ... :::        -> numbered kind=table label=_1 caption=_2
# kind= takes any word, so a report can number its own kinds: Observation 1, Finding 1.
block   ::: observation {#_} _ ... :::  -> numbered kind=observation label=_1 caption=_2
block   ::: finding {#_} _ ... :::      -> numbered kind=finding label=_1 caption=_2 name=Finding

# ---- "[@fig:name]" in a sentence: "Figure 2", linked to the figure -------------------
# Each kind has its own short prefix, so you can tell at a glance what a reference points at.
inline  [@fig:_]                        -> ref kind=figure
inline  [@tbl:_]                        -> ref kind=table
inline  [@obs:_]                        -> ref kind=observation
inline  [@fnd:_]                        -> ref kind=finding

# ---- "$$ {#name}" ... "$$": an equation numbered (1), (2)… at the right ---------------
# Without a label, "$$" ... "$$" is maths on its own line with no number, and $…$ sits in a sentence.
block   $$ {#_} ... $$                  -> equation label=_1 verbatim
block   $$ ... $$                       -> math verbatim
inline  $_$                             -> math verbatim
# "[@eq:name]" reads as the equation's number in brackets.
inline  [@eq:_]                         -> eqref
~~~
# Temperature and the rate of a reaction

By: Maya Patel and Leo Grant · Year 11 Chemistry · 14 October 2026

Abstract: We timed the reaction of sodium thiosulfate with hydrochloric acid at five temperatures, three trials at each. The rate about doubled with every 10 °C rise ([@fig:rate]), which puts the activation energy of the reaction near 48 kJ/mol.

::: figure {#rate} The rate at each temperature, from the mean of three trials
view: trials as chart line by temperature max rate plain
:::

## Aim

To find out how the temperature of sodium thiosulfate solution changes the rate of its reaction with hydrochloric acid, and to estimate the activation energy of the reaction.

## Background

Sodium thiosulfate and hydrochloric acid react to give a fine yellow precipitate of sulfur:

$$ {#reaction}
\mathrm{Na_2S_2O_3(aq) + 2\,HCl(aq) \rightarrow 2\,NaCl(aq) + SO_2(g) + S(s) + H_2O(l)}
$$

The sulfur slowly clouds the solution until a cross drawn under the flask can no longer be seen. The time this takes, $t$, is shorter when the reaction is faster, so we take $1000/t$ as a measure of the rate.

Particles move faster at a higher temperature, and more of their collisions have enough energy to react. The Arrhenius equation describes this:

$$ {#arrhenius}
k = A\,e^{-E_a / RT}
$$

where $k$ is the rate constant, $E_a$ the activation energy, $R = 8.314\ \mathrm{J\,mol^{-1}\,K^{-1}}$ and $T$ the temperature in kelvin. Comparing two temperatures removes $A$:

$$ {#two-temps}
\ln\frac{t_1}{t_2} = \frac{E_a}{R}\left(\frac{1}{T_1} - \frac{1}{T_2}\right)
$$

## Method

The apparatus is shown in [@fig:setup].

1. Draw a cross on a sheet of white paper and stand a 100 cm³ conical flask on it.
2. Measure 50 cm³ of 0.15 mol/dm³ sodium thiosulfate solution into the flask.
3. Warm the flask in a water bath until the solution reaches the temperature wanted, checking with a thermometer.
4. Measure 5 cm³ of 2.0 mol/dm³ hydrochloric acid into a small measuring cylinder.
5. Add the acid to the flask, swirl it once and start the stopwatch at the same moment.
6. Look down through the solution and stop the stopwatch when the cross disappears.
7. Record the time, rinse the flask, and repeat twice more at the same temperature.
8. Repeat the whole method at 20, 30, 40, 50 and 60 °C.

::: figure {#setup} Looking down through the flask at the cross
![A conical flask seen from the side, standing on a sheet of paper with a cross drawn on it; an eye above the flask looks down through the solution](data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='190'><rect x='40' y='160' width='220' height='14' rx='2' fill='none' stroke='gray'/><path d='M140 162 l20 10 M160 162 l-20 10' stroke='firebrick' stroke-width='3'/><path d='M106 140 L194 140 L205 158 L95 158 Z' fill='goldenrod' opacity='0.45'/><path d='M135 60 L135 95 L95 158 L205 158 L165 95 L165 60' fill='none' stroke='gray' stroke-width='2'/><ellipse cx='150' cy='22' rx='16' ry='9' fill='none' stroke='gray' stroke-width='2'/><circle cx='150' cy='22' r='4' fill='gray'/><path d='M150 34 L150 150' stroke='gray' stroke-dasharray='4 4'/></svg>)
:::

### Keeping it fair

The volumes and concentrations stayed the same in every trial, so temperature was the only thing we changed. The same person watched the cross each time, from the same height, under the same lamp.

### Safety

Sulfur dioxide is given off, so the room was ventilated and the flasks were emptied into the fume cupboard sink straight after each trial. We wore eye protection throughout.

## Results

Every trial is in [@tbl:trials], with the mean time and the rate worked out from them. [@fig:rate], at the top of this report, draws the rate at each temperature.

::: table {#trials} The time for the cross to disappear in three trials at each temperature, their mean, and the rate
```data trials as table plain
temperature:number, t1:number, t2:number, t3:number, mean = round((t1 + t2 + t3) / 3), rate = round(1000 / mean)
20, 96, 101, 97
30, 52, 49, 52
40, 27, 28, 26
50, 15, 16, 14
60, 9, 10, 8
```
:::

Temperatures are in °C, the times $t_1$ to $t_3$ and their mean in seconds, and the rate is $1000/t$ in $\mathrm{s^{-1}}$.

::: observation {#cloud} The trials at 60 °C
The solution had begun to cloud before we finished swirling, so the start of each 60 °C trial is less certain than the others. A second of error there is more than a tenth of the time.
:::

## Analysis

The mean times fall from 98 s to 51 s, 27 s, 15 s and 9 s, so the rate roughly doubles for every 10 °C rise. Putting the 20 °C and 60 °C means into equation [@eq:two-temps], with $T_1 = 293$ K and $T_2 = 333$ K:

$$
E_a = \frac{8.314 \times \ln(98/9)}{1/293 - 1/333} \approx 48\ \mathrm{kJ\,mol^{-1}}
$$

The 60 °C times are the least reliable ([@obs:cloud]). Using the 50 °C mean instead gives 49 kJ/mol, so the estimate does not depend on that one point.

## Conclusion

::: finding {#doubling} Temperature and rate
Raising the temperature of the solution by 10 °C about doubles the rate of the reaction, and the activation energy is about 48 kJ/mol.
:::

[@fnd:doubling] agrees with the Arrhenius equation ([@eq:arrhenius]) and with the curve in [@fig:rate], which rises more steeply at each step. The main source of error is judging the moment the cross disappears, which is why each temperature was repeated three times.

### Next time

Use a light sensor and a data logger in place of the eye, so the end point is the same in every trial, and add a trial at 70 °C to test whether the doubling carries on.

---

## How it's made

- **The look** is one line in the rules block, `set style academic`. It centres the title, sets the text in a serif and numbers the sections.
- **The chart and the table share their data.** Table 1 is a data block whose last two columns are worked out, `mean = round((t1 + t2 + t3) / 3)` and `rate = round(1000 / mean)`. Figure 1 is one line around it, `view: trials as chart line by temperature max rate plain`, so it changes when a time does.
- **Numbers.** Each `::: figure`, `::: table`, `::: observation` and `::: finding` block is numbered in the order it appears, and each kind counts on its own. The last two are kinds this report made up, with `kind=` in the rules block.
- **References.** A sentence writes `[@fig:rate]` and reads "Figure 1", wherever the figure moves. Equations are `$$ {#name}` blocks, numbered at the right, and `[@eq:two-temps]` shows the number.

## Try it yourself

1. In Table 1, change the first 20 °C time from `96` to `120`. The mean, the rate and Figure 1 follow.
2. Add a row `70, 5, 6, 5` to the trials. Table 1 grows by a row, and Figure 1 gains a point.
3. Above the apparatus, add `::: figure {#cross} The cross under the flask`, a line of text and `:::`. The apparatus becomes Figure 3, and every `[@fig:setup]` follows.
4. Change `set style academic` to `set style paper`. The same report takes a softer look.

Next: *Research paper* adds citations and a reference list; *Maths notes* writes theorems and proofs.