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-cflength-flength

cflength:5;

cfdisrep(cf(0.0183654...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0183654...

Calculate

cfdisrep-cflength-ev-flength

cflength:5;

ev(cfdisrep(cf(0.0183...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.1234567...

Calculate

cfdisrep-ev-eval-float

ev(cfdisrep(cf(0.8264...

ev(cfdisrep(cf(0.9633...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0123456...

123456789012345678901...

Calculate

cfdisrep-float

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

Calculate

cfdisrep-ev

ev(cfdisrep(cf(0.8264...

Calculate

cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(0.0183654...

1/81-1234567890123456...

Calculate

cfdisrep-cflength-flength-fpprec-grind

cflength:5;

fpprec:60;

grind(cfdisrep(cf(123...

Calculate