# Sec. 17.2, Example 5

x = 1
for i in range(10):
    y = (2*x*x*x + 1) / (3*x*x + 1)
    print float(y)
    x = y