curriculum/challenges/english/blocks/project-euler-problems-301-to-400/5900f4f41000cf542c510007.md
A rectilinear grid is an orthogonal grid where the spacing between the gridlines does not have to be equidistant.
An example of such grid is logarithmic graph paper.
Consider rectilinear grids in the Cartesian coordinate system with the following properties:
For this problem we would like you to find the positions of the remaining $N$ inner horizontal and $N$ inner vertical gridlines so that the area occupied by the red cells is minimized.
E.g. here is a picture of the solution for $N = 10$:
The area occupied by the red cells for $N = 10$ rounded to 10 digits behind the decimal point is 3.3469640797.
Find the positions for $N = 400$. Give as your answer the area occupied by the red cells rounded to 10 digits behind the decimal point.
enmeshedUnitCircle() should return 3.1486734435.
assert.strictEqual(enmeshedUnitCircle(), 3.1486734435);
function enmeshedUnitCircle() {
return true;
}
enmeshedUnitCircle();
// solution required