Public
Edited
May 2, 2023
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function wf(a, b, N) {
return (x) =>
3 - d3.sum(d3.range(N).map((n) => a ** n * Math.cos(b ** n * x)));
}
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