Public
Edited
May 14, 2023
1 fork
4 stars
Also listed in…
Math
Teaching Calculus
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
f = (x) =>
d3.sum(
d3
.range(0, n + 1)
.map(
(n) =>
((-1) ** Math.floor(n / 2) * (x - Math.PI / 4) ** n) /
(factorial(n) * Math.sqrt(2))
)
)
Insert cell
function factorial(n) {
let result = 1;
for (let i = 1; i <= n; i++) {
result *= i;
}
return result;
}
Insert cell
MathJax = require("https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js").catch(
() => window["MathJax"]
)
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