Evaluation of 1/(1/a + 1/b + 1/r)

*To*: mathgroup at smc.vnet.net*Subject*: [mg70129] Evaluation of 1/(1/a + 1/b + 1/r)*From*: "Diana" <diana.mecum at gmail.com>*Date*: Thu, 5 Oct 2006 03:32:20 -0400 (EDT)

Folks, I am trying to write a program to evaluate the sum of two continued fractions, written in polynomials of T. I would like a short routine to evaluate 1/(1/a + 1/b + 1/r), just working with a, b, and r if they are not equal to zero. So, if a = 0, then evaluate 1/(1/b + 1/r) If a, b, = 0, then evaluate 1/r If all of a, b, r = 0, give me 0 as output. If (1/a + 1/b + 1/r) = 0, give me 0 as output. Assume that a, b, r are arbitrary polynomials in T. Can someone help? Thanks, Diana

**Follow-Ups**:**Re: Evaluation of 1/(1/a + 1/b + 1/r)***From:*Sseziwa Mukasa <mukasa@jeol.com>