News

johndcook. com
johndcook. com > blog > 06/04/2026 > integrating-smooth-periodic-functions

Integrating smooth periodic functions

1+ week, 6+ day ago  (180+ words) Several posts lately have looked at the function f(x) = cos(sin(x) +x). This post will look at the function from a different angle. It's a smooth function with period 2, and it's very flat at odd multiples of, i. e. the first five derivatives…...

Symbols: nyse:cal,nyse:flut
johndcook. com
johndcook. com > blog > 05/06/2026 > triangular-analog-of-the-squircle

Triangular analog of the squircle

1+ mon, 1+ week ago  (165+ words) Tim F left a comment on my guitar pick post saying the image was a "squircle-ish analog for an isosceles triangle." That made me wonder what a more direct analog of the squircle might be for a triangle. A squircle…...

johndcook. com
johndcook. com > blog > 04/30/2026 > burmanns-theorem

Approximating even functions by powers of cosine

1+ mon, 2+ week ago  (221+ words) A couple days ago I wrote a post about turning a trick into a technique, finding another use for a clever way to construct simple, accurate approximations. I used as my example approximating the Bessel function J(x) with (1 + cos(x))/2. I…...

Symbols: btc-usd,eth-usd,nyse:csan,nasdaq:odd
johndcook. com
johndcook. com > blog > 03/12/2026 > arccos

Inverse cosine

3+ mon, 5+ day ago  (294+ words) In the previous two posts, we looked at why Mathematica and Sym Py did not simplify sinh(arccosh(x)) to "(x" " 1) as one might expect. After understanding why sinh(arccosh(x)) doesn't simplify nicely, it's natural to ask why sin(arccos(x)) does…...

Symbols: pi
johndcook. com
johndcook. com > blog > 02/24/2026 > a-curious-trig-identity

A curious trig identity

3+ mon, 3+ week ago  (258+ words) Here is an identity that doesn't look correct but it is. For real'x and'y, I found the identity in [1]. The author's proof is short. First of all, Taking square roots completes the proof. Now note that the statement at the…...

Symbols: pi,iisc
johndcook. com
johndcook. com > blog > 02/25/2026 > trig-of-inverse-trig

Trig of inverse trig

3+ mon, 3+ week ago  (291+ words) I ran across an old article [1] that gave a sort of multiplication table for trig functions and inverse trig functions. Here's my version of the table. I made a few changes from the original. First, I used La Te X,…...

Symbols: pi,iisc
johndcook. com
johndcook. com > blog > 12/04/2025 > solving-spherical-triangles

Solving spherical triangles

6+ mon, 1+ week ago  (376+ words) This post is a side quest in the series on navigating by the stars. It expands on a footnote in the previous post. There are six pieces of information associated with a spherical triangle: three sides and three angles. I…...

Symbols: nd
johndcook. com
johndcook. com > blog > 11/28/2025 > tricusp-triangle

A hyperbolic triangle with three cusps

6+ mon, 2+ week ago  (236+ words) In spherical geometry, the interior angles of a triangle add up to more than ". And in fact you can determine the area of a spherical triangle by how much the angle sum exceeds ". On a sphere of radius 1, the area…...

Symbols: bsp,kokma,left
johndcook. com
johndcook. com > blog > 11/28/2025 > hyperbolic-circle

A circle in the hyperbolic plane

6+ mon, 2+ week ago  (352+ words) Let " be the upper half plane, the set of complex real numbers with positive imaginary part. When we measure distances the way we've discussed in the last couple posts, the geometry of " is hyperbolic. What is a circle of radius…...

Symbols: vlt,cnn,lofar
johndcook. com
johndcook. com > blog > 11/27/2025 > hyperbolic-metric-formulas

Five formulas for the hyperbolic metric

6+ mon, 2+ week ago  (329+ words) The previous post described a metric for the Poincar" upper half plane. The development is geometrical rather than analytical. There are also analytical formulas for the metric, at least four that I've seen. It's not at all obvious that the…...

Symbols: cles,lqg,sle