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(5)))

          (%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-cflength-ev-eval-numer

ev(cfdisrep(cf(0.8264...

cflength:3;

a:cfdisrep(cf(0.96335));

Calculate

cfdisrep-ev-expand

ev(cfdisrep(cf(0.8264...

Calculate

cfdisrep-float

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

b:cfdisrep(a);

c:float(b);

Calculate

cfdisrep

cfdisrep(cf(0.82648));

Calculate

cfdisrep-float

float(cfdisrep([0,8,9...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0123456...

1/81-1234567890123456...

Calculate

cfdisrep

cfdisrep([0,0,8,9,1]);

Calculate

cfdisrep-cflength-flength-float

cflength:5;

cfdisrep(cf(0.0123456...

float(1/81)=0.0123456...

Calculate

cfdisrep-cflength-ev-flength

cflength:5;

ev(cfdisrep(cf(0.0183...

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

Calculate

cfdisrep-cflength-ev-eval-numer-ratepsilon

ratepsilon:0.0001;

ev(cfdisrep(cf(0.8264...

cflength:1;

Calculate