Thanks The formula for this classic problem is well known. you need to double check your solution to find the error.