Public
Edited
Aug 7, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Fraction((2*4*5)/9)
Insert cell
Fraction(2*1*2/3)
Insert cell
HM(1,2)
Insert cell
HM(4,5).mul(9,10)
Insert cell
HM(8,9)
Insert cell
HM = (n, d) => Fraction(2 * n * d / (n + d))
Insert cell
Fraction(8,9).mul(9,10)
Insert cell
Fraction(8,9).div(9,10) // syntonic comma
Insert cell
Fraction(5,6).div(6,7)
Insert cell
aap = (x) => Fraction(x, x+1).div(x+1, x+2)
Insert cell
aap(8)
Insert cell
// recreate table on page 1 of Terpstra-ArithmetricRubric.pdf
noot = d3.range(2,32,2)
.map(aap)
.map((r, i) => ({
s: `${i+1}:${i+2}`,
r: r.toFraction().replace("/",":"),
t: `8×${(i+1) * (i+2) / 2}:${r.d**(1/2)}²`,
f: `${(Math.ceil((i+1)/2))}`, // needs to be worked out more!!!
}))
Insert cell
import {cent} from "@martien/cent"
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more