"Near the end of his life, Newton described himself to his nephew and biographer, John Conduitt, in these pleasant words: 'I do not know what I may appear to the world, but to myself I seem to have been only a boy, playing on the seashore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me.'

10 REM MIKE MAROTTA. FEB 5, 1987. NEWTON'S ALGORITHM FOR SQUARE ROOTS
19 LIMIT= .0001
20 PRINT "ENTER A NUMBER"
21 INPUT X
56 XN = X/2
60 R1 = (XN + X/XN)/2
70 IF ABS(XN-R1) < LIMIT THEN GOTO 80
75 XN = R1
76 GOTO 60
80 PRINT "THE SQUARE ROOT OF ";X;" = ";R1
PREVIOUSLY ON NECESSARY FACTS
Newton versus the Counterfeiter
Fig Newtons and Leibniz Biscuits
The Structure of Scientific Revolutions
Feynman's Rainbow
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.