A farmer has 2000 meters of fencing. He wants to enclose a rectangular filed on the side of a river with no fencing along the river. Find the length and the width of the field if the area of the field is 500,000 square meters.