Calculate the area of a triangle given the vertices' coordinates and using the formula given.
A = 1/2*crossProduct(AB, AC)
Steps that must be taken to perform the task:
- Determine vectors AB and AC.
- Calculate cross product of vectors AB and AC.Calculation should be valid for a triangle in the x-y plane and for a triangle in space (x-y-z).
- Determine the area of a triangle.