Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Cfdisrep Calculator

Cfdisrep

Function: cfdisrep (<list>) Constructs and returns an ordinary arithmetic expression of the form a + 1/(b + 1/(c + ...)) from the list representation of a continued fraction [a, b, c, ...].

cflength:5;
ev(cfdisrep(cf(0.18365472901836547290183654729)));
bfloat(1/ (5+1/(2+1/(4+1/22))))

          (%i1) cf ([1, 2, -3] + [1, -2, 1]);
          (%o1)                     [1, 1, 1, 2]
          (%i2) cfdisrep (%);
                                            1
          (%o2)                     1 + ---------
                                              1
                                        1 + -----
                                                1
                                            1 + -
                                                2

(%o1)                                true
(%i2) 

Cfdisrep Example

Related Examples

cfdisrep-float

a:[4,4,1,2,4,4,4,4,1,...

b:cfdisrep(a);

c:float(b);

Calculate

cfdisrep-ev-eval

ev(cfdisrep(cf(0.8264...

Calculate

cfdisrep-sqrt

cfdisrep(cf(sqrt(2)));

Calculate

cfdisrep-ev-eval

ev(cfdisrep(cf(0.8264...

ev(cfdisrep(cf(0.9633...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0183654...

1/81-1234567890123456...

Calculate

cfdisrep-cflength-ev-eval-numer-sqrt

ev(cfdisrep(cf(0.8264...

cflength:1;

cfdisrep(cf(sqrt(3)));

Calculate

cfdisrep-cflength-ev-eval-numer-sqrt

ev(cfdisrep(cf(0.8264...

cflength:3;

cfdisrep(cf(sqrt(3)));

Calculate

cfdisrep-cflength-flength-sqrt

cflength:5;

cfdisrep(cf(sqrt(3)));

Calculate

cfdisrep-cflength-ev-eval-numer-sqrt

ev(cfdisrep(cf(0.8264...

cflength:3;

cfdisrep(cf(sqrt(3)));

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0183654...

1/81-1234567890123456...

Calculate