# Sec. 17.2, Example 3

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

*<Dr. A. W. Pangantiwar>, <Associate Professor in Physics>, <Govt. College of Engineering, KARAD - 415124. Dist. Satara>

Kreyszig-17.2-3 (last edited 2010-12-17 11:48:51 by 172)