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:
17376.1 euros
Step-by-step explanation:
100%=16870
103%=x
103% x 16870=1737610/100=17376.1
From the given above, we will include the case in which 3 and all 4 defectives are included in the purchase.
For 3:
(36C5) x (4C3) = 1507968
For 4:
(36C4) x (4C4) = 58905
Adding these numbers will give us an answer of 1566873.
For this case we find the expression that represents the cost of each printing press.
x: Be the variable that represents the number of programs to print
So:
Cost 1: Janet’s Print Shop

Cost 2: The Printing Press

If we want to find the number of programs for which the costs are the same, then we equate both equations:

Thus, for 150 programs the cost is the same.
Answer:
For 150 programs the cost is the same.