0
EN
1
المرجع الالكتروني للمعلوماتية

تاريخ الرياضيات

الاعداد و نظريتها

تاريخ التحليل

تار يخ الجبر

الهندسة و التبلوجي

الرياضيات في الحضارات المختلفة

العربية

اليونانية

البابلية

الصينية

المايا

المصرية

الهندية

الرياضيات المتقطعة

المنطق

اسس الرياضيات

فلسفة الرياضيات

مواضيع عامة في المنطق

الجبر

الجبر الخطي

الجبر المجرد

الجبر البولياني

مواضيع عامة في الجبر

الضبابية

نظرية المجموعات

نظرية الزمر

نظرية الحلقات والحقول

نظرية الاعداد

نظرية الفئات

حساب المتجهات

المتتاليات-المتسلسلات

المصفوفات و نظريتها

المثلثات

الهندسة

الهندسة المستوية

الهندسة غير المستوية

مواضيع عامة في الهندسة

التفاضل و التكامل

المعادلات التفاضلية و التكاملية

معادلات تفاضلية

معادلات تكاملية

مواضيع عامة في المعادلات

التحليل

التحليل العددي

التحليل العقدي

التحليل الدالي

مواضيع عامة في التحليل

التحليل الحقيقي

التبلوجيا

نظرية الالعاب

الاحتمالات و الاحصاء

نظرية التحكم

بحوث العمليات

نظرية الكم

الشفرات

الرياضيات التطبيقية

نظريات ومبرهنات

علماء الرياضيات

500AD

500-1499

1000to1499

1500to1599

1600to1649

1650to1699

1700to1749

1750to1779

1780to1799

1800to1819

1820to1829

1830to1839

1840to1849

1850to1859

1860to1864

1865to1869

1870to1874

1875to1879

1880to1884

1885to1889

1890to1894

1895to1899

1900to1904

1905to1909

1910to1914

1915to1919

1920to1924

1925to1929

1930to1939

1940to the present

علماء الرياضيات

الرياضيات في العلوم الاخرى

بحوث و اطاريح جامعية

هل تعلم

طرائق التدريس

الرياضيات العامة

نظرية البيان

قم بتسجيل الدخول اولاً لكي يتسنى لك الاعجاب والتعليق.

Square Root Algorithms

المؤلف:  Flannery, S. and Flannery, D

المصدر:  In Code: A Mathematical Journey. London: Profile Books,

الجزء والصفحة:  ...

4-9-2019

1976

+

-

20

Square Root Algorithms

 

A sequence of approximations a/b to sqrt(n) can be derived by factoring

 a^2-nb^2=+/-1

(1)

(where -1 is possible only if -1 is a quadratic residue of n). Then

 (a+bsqrt(n))(a-bsqrt(n))=+/-1

(2)

 (a+bsqrt(n))^k(a-bsqrt(n))^k=(+/-1)^k=+/-1,

(3)

and

(1+sqrt(n))^1 = 1+sqrt(n)

(4)

(1+sqrt(n))^2 = (1+n)+2sqrt(n)

(5)

(1+sqrt(n))(a+bsqrt(n)) = (a+bn)+sqrt(n)(a+b).

(6)

Therefore, a and b are given by the recurrence relations

a_i = a_(i-1)+b_(i-1)n

(7)

b_i = a_(i-1)+b_(i-1)

(8)

with a_1=b_1=1. The error obtained using this method is

 |a/b-sqrt(n)|=1/(b(a+bsqrt(n)))<1/(2b^2).

(9)

The first few approximants to sqrt(n) are therefore given by

 1,1/2(1+n),(1+3n)/(3+n),(1+6n+n^2)/(4(n+1)),(1+10n+5n^2)/(5+10n+n^2),....

(10)

This algorithm is sometimes known as the Bhaskara-Brouncker algorithm, and the approximants are precisely those obtained by taking successive convergents to the continued fraction of sqrt(n). The fact that if a/b is an approximation to sqrt(2), then (a+2b)/(a+b) is a better one (the n=2 case) was known to Theon of Smyrna in the second century AD (Wells 1986, p. 35).

Another general technique for deriving this sequence, known as Newton's iteration, is obtained by letting x=sqrt(n). Then x=n/x, so the sequence

 x_k=1/2(x_(k-1)+n/(x_(k-1)))

(11)

converges quadratically to the root. The first few approximants to sqrt(n) are therefore given by

 1,1/2(1+n),(1+6n+n^2)/(4(n+1)),(1+28n+70n^2+28n^3+n^4)/(8(1+n)(1+6n+n^2)),....

(12)

Wolfram's iteration provides a method for finding square roots of integers using the binary representation.


REFERENCES:

Flannery, S. and Flannery, D. In Code: A Mathematical Journey. London: Profile Books, p. 132, 2000.

Wells, D. The Penguin Dictionary of Curious and Interesting Numbers. Middlesex, England: Penguin Books, pp. 34-35, 1986.

Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, p. 1168, 2002.

اخر الاخبار

اشترك بقناتنا على التلجرام ليصلك كل ما هو جديد