Math & Science ⇒ Sum in the Form of continued Fractions
Sum in the Form of continued Fractions
Any help is appreciated.
- Attachments
-
- 02.gif (2.15 KiB) Viewed 3658 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Sum in the Form of continued Fractions
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools} % loads »amsmath«
\newcommand*{\fplus}{\genfrac{}{}{0pt}{}{}{+}}
\newcommand*{\fdots}{\genfrac{}{}{0pt}{}{}{\cdots}}
\begin{document}
\[
\frac{4}{\pi}=1+\frac{1^2}{2}\fplus\frac{3^2}{2}\fplus\frac{5^2}{2}\fplus\frac{7^2}{2}\fplus\fdots
\]
\end{document}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10