A Continued Fraction Calculator

This interactive calculator page accompanies a full explanation of Continued Fractions.
Try these examples... Select one. Input boxes will then be filled in for you. Press the ARROW button that is  high-lighted  to do the conversion.

I N P U T   
Fraction: + sqrt
Fraction -> CF Fraction <- CF Continued Fraction:
Decimal number:
 
Decimal -> CF
O U T P U T   
Record results below?
More about this Continued Fraction:
The Mathematical functions and constants available in the "Decimal" box are:
NameDescriptionEg
abs the absolute value (size) of a number abs(-3.9)=3.9
acos arc cosine acos(0.5)=1.047197551196598=60° in radians
asin arc sine asin(sqrt(3)/2)=1.047197551196598=60° in radians
atan arc tangent 4 * atan(1)=3.141592653589793=90°= Pi radians
ceil round up to the nearest integer ceil(-3.9)=-3,ceil(2.1)=3
cos cosine of an angle (in radians) cos(60*Pi/180)=0.5
E e e=2.718281828459045
exp e to the power of exp(1)=2.718281828459045
floor round down to the nearest integer floor(-3.9)=-4,floor(2.1)=2
log log to base e log(E)=1,log(sqrt(E))=0.5
Phi golden section Phi=1.618033988749895
phi golden section phi=0.618033988749895
Pi pi pi=3.141592653589793
pow pow(x,p) is xp pow(2,3)=8
random a random number between 0 and 1 random()=0.42190062543
round round to the nearest integer round(-3.9)=-4, round(3.9)=4
sin sine of an angle (in radians) sin(Pi/2)=1
sqrt square root sqrt(2)=1.414213562373095
tan tangent of an angle (in radians) tan(Pi/4)=1

© 2003-2006 Dr Ron Knott
27 February 2004