Irrational number approximation by a rational number

n.karthick
Messages
245
Reaction score
0
Is there a way ( a theorem ) to find a rational number for a given irrational number such that it is an approximation to it to the required decimal places of accuracy. For example 22/7 is an approximate for pi for 2 decimal places.
 
Physics news on Phys.org
best rational approximation (via continued fractions)
 
There is always the trivial solution. Write out the decimal expansion for the irrational to the required number (plus one) of places. Then truncate (or round). This rational number will satisfy the criterion.
 
^That tends to give big denominators, how distasteful.
 
lurflurf said:
^That tends to give big denominators, how distasteful.

Most of the time you can't do much else.
 
Write down the decimal expansion to the accurate number of digits required+1 and make the penultimate digit to round figure and then convert it to fraction by dividing it by 10 to power number of decimal digits.
 

Similar threads

Replies
33
Views
4K
Replies
30
Views
2K
Replies
5
Views
2K
Replies
28
Views
2K
Replies
2
Views
2K
Replies
4
Views
2K
Back
Top