A point P in the first quadrant lies on the parabola y=x^2. Express the coordinates of P as functions of the angle of inclination of the line joining P to the origin.