First of all, a bit of theory: since the area of a square is given by

where s is the length of the square. So, if we invert this function we have
.
Moreover, the diagonal of a square cuts the square in two isosceles right triangles, whose legs are the sides, so the diagonal is the hypothenuse and it can be found by

So, the diagonal is the side length, multiplied by the square root of 2.
With that being said, your function could be something like this:
double diagonalFromArea(double area) {
double side = Math.sqrt(area);
double diagonal = side * Math.sqrt(2);
return diagonal;
}
Answer:
1/5
Step-by-step explanation:
i had a similar question
For each roll you start with paying 2 dollars and you only with 10 dollars one out of 6 rolls (on average).
So the cost for one play is 2 dollars and your win is 10/6.
Value is -2+10/6=-1/3 dollars
So you lose 1/3 dollars on average with each game
since you have no limited rolls u put 1/5
this from another question but both same just different numbers
We can use the 9 inches wide to determine that 18 inches of the 42 inches are the wide sides. 42 - 18 = 24, so we divide 24 by how many long sides there are, 2. 24 ÷ 2 = 12. The box was 12 inches long.