square roots close range approximation

15
A procedure for finding square roots of numbers close to familiar square roots. Dave Coulson, 2014

Upload: david-coulson

Post on 18-May-2015

107 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Square roots   close range approximation

A procedure for finding square roots of numbers close to familiar square roots.

Dave Coulson, 2014

Page 2: Square roots   close range approximation

This procedure is based on the expansion for square roots close to 1.

....

x 1 C

x 1 C

x 1 C

x 1 C x1 x1

3 3

2 2

1 1

0 0

25

21

23

21

21

21

21

21

21

Page 3: Square roots   close range approximation

This procedure is based on the expansion for square roots close to 1.

... x x x 1

x1 x13

23

21

212

21

21

21

21

Page 4: Square roots   close range approximation

This procedure is based on the expansion for square roots close to 1.

... x x x 1

x1 x13

832

41

21

21

Page 5: Square roots   close range approximation

This procedure is based on the expansion for square roots close to 1.

x 1

x1 x1

21

21

Page 6: Square roots   close range approximation

This procedure is based on the expansion for square roots close to 1.

Similarly

x 1

x1 x1

21

21

x 1

x1 x1

21

21

Page 7: Square roots   close range approximation
Page 8: Square roots   close range approximation

Error < 0.01%

Page 9: Square roots   close range approximation
Page 10: Square roots   close range approximation

Error ~ 0.01%

Page 11: Square roots   close range approximation

In general, for k between 0 and 0.5,

This should be equal to N+k for a perfect square root

Page 12: Square roots   close range approximation

k can never be bigger than 0.5.

Therefore error decreases with N.

Relative error decreases (roughly) with N2.

Therefore....

Page 13: Square roots   close range approximation

Blue is absolute error, Red is relative error.

Relative error is never higher than 6% and very quickly reduces to less than 1%.

The worst estimates occur when estimating square roots of numbers less than 4.

Page 14: Square roots   close range approximation

Greater accuracy can be achieved by referencing the squares of halves.

Error 0.2%

Page 15: Square roots   close range approximation

[END]

[email protected]