Pyodide Notebook Prototype#
This sample notebook is intentionally lightweight and pure Python so it can be adapted to browser execution (pyodide/JupyterLite) without solver toolchain dependencies.
Use the rocket button / Thebe in this page for interactive execution (when available), or launch the dedicated JupyterLite demo:
Last updated: 2026-03-27
import math
g = 9.81
h = 1.0
u = 1.5
c = math.sqrt(g * h)
froude = abs(u) / c
print(f"gravity wave speed c = {c:.4f} m/s")
print(f"Froude number Fr = {froude:.4f}")