Maxima by Example, Chapter 9: Bigfloats and High Accuracy Quadrature

Ted Woollett



A valuable feature of a computer algebra system is the ability to do arithmetic with high precision. Chapter 9 presents four methods of high accuracy quadrature, including examples and test integrals.

  1. --mbe9bfloat.pdf : May 30, 2016, Maxima 5.36.1, 40 pages
  2. --mbe9bfloat.tex : May 30, 2016, Latex code file
  3. --mbe9code.txt : Copy and Paste Code: May 30, 2016, Maxima 5.36.1
  4. --bfloat.mac : May 30, 2016, Maxima 5.36.1
  5. --quad-maxima.lisp : May 30, 2016, Maxima 5.36.1
  6. --quad_de.mac : May 30, 2016, Maxima 5.36.1
  7. --quad_ts.mac : May 30, 2016, Maxima 5.36.1
  8. --quad_gs.mac : May 30, 2016, Maxima 5.36.1

Chapter 9 Topics

  1. The Use of Bigfloat Numbers in Maxima,
  2. Bigfloat Numbers Using bfloat, fpprec, and fpprintprec.
  3. Using print and printf with Bigfloats,
  4. Adding Bigfloats having Differing Accuracy,
  5. Highly Accurate Roots of Polynomials using bfallroots,
  6. Highly Accurate Roots using bf_find_root,
  7. Bigfloat Number Gaps and Binary Arithmetic,
  8. Effect of Floating Point Precision on Function Evaluation,
  9. High Accuracy Quadrature with Maxima,
  10. Using bromberg for High Accuracy Quadrature,
  11. A Double Exponential Quadrature Method for a <= x < inf,
  12. The tanh-sinh Quadrature Method for a <= x <= b,
  13. The Gauss-Legendre Quadrature Method for a <= x <= b

The text files bfloat.mac, quad_de.mac, quad_ts.mac, and quad_gs.mac are free software: you can redistribute them and/or modify them under the terms of the GNU GENERAL PUBLIC LICENSE, Version 2, June 1991, as published by the Free Software Foundation. For more information see the license information at the top of the files.