Final answer:
The perimeter of triangle ABC is 30 + 10sqrt(5)
Step-by-step explanation:
To find the perimeter of triangle ABC, we need to find the lengths of its three sides.
Using the distance formula, we can calculate the lengths of the sides:
Side AB = sqrt((8-2)^2 + (12-4)^2) = sqrt(6^2 + 8^2) = sqrt(36 + 64) = sqrt(100) = 10
Side AC = sqrt((24-2)^2 + (0-4)^2) = sqrt(22^2 + 4^2) = sqrt(484 + 16) = sqrt(500) = 10sqrt(5)
Side BC = sqrt((24-8)^2 + (0-12)^2) = sqrt(16^2 + 12^2) = sqrt(256 + 144) = sqrt(400) = 20
Therefore, the perimeter of triangle ABC is AB + AC + BC = 10 + 10sqrt(5) + 20 = 30 + 10sqrt(5).