MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Program to calculate rational function with imbedded continued fraction


Hi Diana,
the function "FromContinuedFraction" will convert a countinued fraction 
into a "ordinary" number representation. You can then use this number in 
your formula. Of course this will only work if the infinite continued 
fraction is periodic (or terminates, but then it is not infinite). 
Otherwise, you can not represent the number in a form 
"FromContinuedFraction" will swallow.

Daniel

Diana wrote:
> Hello all,
> 
> Would someone be able to help me write a program to calculate the
> rational function of (2x + 3)/(2x + 4), for example?
> 
> Also, (tx + 2t)(3t^2x + t), for example.
> 
> x is actually an infinite continued fraction, and I am trying to figure
> out how to divide one infinite continued fraction by another.
> 
> (t [0, 1, 2, 1, 3, 1, 2, 1, 4, ...] + 2t)/(3t^2 [0, 1, 2, 1, 3, 1, 2,
> 1, 4, ...] +t)
> 
> Any help would be appreciated.
> 
> Diana M.
> 


  • Prev by Date: Re: How to remove just the outermost braces of a list?
  • Next by Date: RE: Mapping Functions That Take More Than One Argument
  • Previous by thread: Program to calculate rational function with imbedded continued fraction
  • Next by thread: Re: Program to calculate rational function with imbedded continued fraction