Final answer:
To determine the length of the pipe needed for the floor drain, we can use the distance formula to find the distance between the floor drain and the sewer connection. The builder should budget $53.55 for the pipe for the floor drain.
Step-by-step explanation:
To determine the length of the pipe needed for the floor drain, we can use the distance formula to find the distance between the floor drain and the sewer connection. The distance formula is given by:
d = √((x2-x1)^2 + (y2-y1)^2)
Where (x1, y1) represents the coordinates of the floor drain and (x2, y2) represents the coordinates of the sewer connection.
In this case, the coordinates of the floor drain are (2, 2) and the coordinates of the sewer connection are (10, 17). Plugging these values into the distance formula gives us:
d = √((10-2)^2 + (17-2)^2) = √((8)^2 + (15)^2) = √((64) + (225)) = √289 = 17
Therefore, the length of the pipe needed for the floor drain is 17 meters. To determine the cost, we can multiply the length of the pipe by the cost per meter:
Cost = 17 meters * $3.15/meter = $<<17*3.15=53.55>>53.55
Therefore, the builder should budget $53.55 for the pipe for the floor drain.