The Mathematica Journal
ISSN / EISSN : 1047-5974 / 1097-1610
Published by: Wolfram Research, Inc. (10.3888)
Total articles ≅ 157
Latest articles in this journal
The Mathematica Journal, Volume 23; https://doi.org/10.3888/tmj.23-4
The Mathematica Journal, Volume 23; https://doi.org/10.3888/tmj.23-1
This article is intended to help students understand the concept of a coverage probability involving confidence intervals. Mathematica is used as a language for describing an algorithm to compute the coverage probability for a simple confidence interval based on the binomial distribution. Then, higher-level functions are used to compute probabilities of expressions in order to obtain coverage probabilities. Several examples are presented: two confidence intervals for a population proportion based on the binomial distribution, an asymptotic confidence interval for the mean of the Poisson distribution, and an asymptotic confidence interval for a population proportion based on the negative binomial distribution.
The Mathematica Journal, Volume 23; https://doi.org/10.3888/tmj.23-2
Lehmer defined a measure depending on numbers beta_i used in a Machin-like formula for pi. When the beta_i are integers, Lehmer's measure can be used to determine the computational efficiency of the given Machin-like formula for pi. However, because the computations are complicated, it is unclear if Lehmer's measure applies when one or more of the beta_i are rational. In this article, we develop a new algorithm for a two-term Machin-like formula for pi as an example of the unconditional applicability of Lehmer's measure. This approach does not involve any irrational numbers and may allow calculating pi rapidly by the Newton-Raphson iteration method for the tangent function.
The Mathematica Journal; https://doi.org/10.3888/tmj.23-3
We present a straightforward implementation of contour integration by setting options for Integrate and NIntegrate, taking advantage of powerful results in complex analysis. As such, this article can be viewed as documentation to perform numerical contour integration with the existing built-in tools. We provide examples of how this method can be used when integrating analytically and numerically some commonly used distributions, such as Wightman functions in quantum field theory. We also provide an approximating technique when time-ordering is involved, a commonly encountered scenario in quantum field theory for computing second-order terms in Dyson series expansion and Feynman propagators. We believe our implementation will be useful for more general calculations involving advanced or retarded Green’s functions, propagators, kernels and so on.
The Mathematica Journal, Volume 22; https://doi.org/10.3888/tmj.22-5
The Mathematica Journal, Volume 22; https://doi.org/10.3888/tmj.22-4
The Mathematica Journal, Volume 22; https://doi.org/10.3888/tmj.22-3
The Mathematica Journal, Volume 22; https://doi.org/10.3888/tmj.22-2
The Mathematica Journal, Volume 22; https://doi.org/10.3888/tmj.22-1