Problem Statement
Find the area of the triangle with vertices A(1, 2), B(4, 6), and C(6, 2).
Explanation
Use the coordinate (shoelace) formula: Area = ½|x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂)|. Substituting A(1,2), B(4,6), C(6,2): Area = ½|1(6−2) + 4(2−2) + 6(2−6)| = ½|4 + 0 − 24| = ½·20 = 10.
Code Solution
SolutionRead Only
A=½|1(6−2)+4(2−2)+6(2−6)|=10
Practice Sets
This question appears in the following practice sets:
