Continued Fraction as a fraction

hjbortol shared this idea 9 years ago
Answered

Hi!


The ContinuedFraction[] command returns a LaTeX text. Would it be possible to adapt the command to actually return fractions approximations for continued fraction truncations?


For instance, I would like somehow to get 3/2 for ContinuedFraction[1.41, 2], 7/5 for ContinuedFraction[1.41, 3], 17/12 for ContinuedFraction[1.41, 4], ...


Thanks, Humberto.

Comments (2)

photo
1

Hi Humberto, a workaround. Michel

https://ggbm.at/566561

photo
1

hello

greatest, michel


i think fractiontext is better than surdtext. i think fractiontext lets bigger denominators


saludos

© 2023 International GeoGebra Institute