Assignment:
Using the fact that the centroid of a triangle lies at the intersection of the triangle's medians, which is the point that lies one-third of the way from each side toward the opposite vertex. Find the centroid of the triangle whose vertices are (0,0), (a,0) and (0,b).
Provide complete and step by step solution for the question and show calculations and use formulas.