Computing the area of a circular segment (green part below) from a distance along the radius axis (like $h$, the sagitta distance) is well-known.
What could be the inverse function, that is the $f$ function: $h=f(A)$, or an approximation of it ?
In other words: The circle is filled with a known quantity of a liquid ($A$) - what is the resulting liquid level ($h$) ?
EDIT 1
Considering that:
$h=R(1-\cos(\theta/2))$
and
$A=R^2/2.(\theta - \sin(\theta))$
I would simply need to express $\theta$ as a function of $A$, that is finding the invert function of $(x-\sin(x))$.
EDIT 2
According to this other question pointed out by Saad, it seems an algebraical expression of the inverse function cannot be obtained. An approximation would however be welcome.
EDIT 3
See the motivation behind this question here: https://observablehq.com/@jgaffuri/striped-circle