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;
cfdisrep(cf(sqrt(2)))

          (%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-cflength-ev-flength-float

cflength:5;

ev(cfdisrep(cf(0.0183...

float(1/ (54+1/(2+1/(...

Calculate

cfdisrep-cflength-ev-flength

cflength:5;

ev(cfdisrep(cf(0.0183...

1/ (54+1/(2+1/(4+1/2)));

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0123456...

1/81-1234567890123456...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.1234567...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0123456...

1/81-1234567890123456...

Calculate

cfdisrep-cflength-ev-flength-float

cflength:5;

ev(cfdisrep(cf(0.0183...

float(1/ (54+1/(2+1/(...

Calculate

cfdisrep-cflength-flength-float

cflength:5;

cfdisrep(cf(0.0123456...

equals(float(1/81),0....

Calculate