fork/numbat
git clone https://git.julia.blue/fork/numbat
a2be63f
v1.8.0
1fn oscillation_time(length: Length) -> Time = 2 2 pi × sqrt(length / g0) 3 4assert_eq(oscillation_time(30 cm), 1.1 s, 0.1 s)
git clone https://git.julia.blue/fork/numbat
a2be63f
1fn oscillation_time(length: Length) -> Time = 2 2 pi × sqrt(length / g0) 3 4assert_eq(oscillation_time(30 cm), 1.1 s, 0.1 s)