Literature DB >> 27805152

Computation of Fresnel Integrals.

Klaus D Mielenz1.   

Abstract

This paper describes a method for spreadsheet computations of Fresnel integrals to six significant figures, based on successive improvements of known rational approximations which are accurate to only three figures. Outside the range of validity of the improved approximations, known series expansions are used to obtain the Fresnel integrals to six figures.

Entities:  

Keywords:  Fresnel integrals; computation; numerical approximations; series expansions; spreadsheet computations

Year:  1997        PMID: 27805152      PMCID: PMC4894596          DOI: 10.6028/jres.102.025

Source DB:  PubMed          Journal:  J Res Natl Inst Stand Technol        ISSN: 1044-677X


1. Known Formulae

The Fresnel cosine and sine integrals, where f(x) and g(x) are auxiliary functions, are important in various fields of physics. This author required them to six significant figures for a project in optics which employed spreadsheet software to compute and plot three-dimensional diffraction patterns. It was found that software and algorithms for computing the Fresnel integrals in Fortran and C are readily available [1, 2]. However, this software was not directly applicable in spreadsheets and the algorithms were more complicated than necessary for this project. It was therefore decided to develop suitable approximations that can be programmed into spreadsheet programs to supply the required values of C(x) and S(x). This development was based on the following formulae listed in the NBS Handbook of Functions [3]: As the rational approximations of Eqs. (2a) and (2b) yield C(x) and S(x) only to ±2.5 × 10−3, it was necessry to improve them over a sufficiently wide range of intermediate arguments so that they could be supplemented with the series expansions of Eqs. (3a) to (4b) to compute C(x) and S(x) to ±3 3 10−6 for arbitrary values of x.

2. Improvement of Rational Approximations

The improvement of the rational approximations of Eqs. (2a) and (2b) was based on a comparison of the numerical values of f0(x) and g0(x) to the exact values tabulated in Ref. [1]. It was found that the residuals ε(x) were skewed oscillatory functions that could be approximated by expressions of the form ε(x) ≈ Δ(x) = a(x) sin[α(x)] + b(x), where a(x) and b(x) are linear functions of x and α(x) is chosen so that the oscillations of ε(x) are imitated. By a judicious choice of parameters it was arranged that the second residuals, ε(x) − Δ(x) also exhibited a sinusoidal behvior so that the same procedure could be repeated. As the techniques used were empirical, based on trial and error rather than mathematical rigor, no further details will be given. The final results are: where and The digits appearing in these expressions are significant within the uncertainties stated in Eq. (5c). By substituting the numerical values of f(x) and g(x) given by these equations into Eqs. (1a) and (1b), and comparing the results to the exact values in Ref. [3], it was found that they yield C(x) to ± 3.5 × 10−6 for 0.6 ≤ x ≤ 3.1.

3. Application

The results of Sec. 2 were entered into a spreadsheet program and C(x) and S(x) were computed for 0.6 < × < 3 from Eqs. (1a) and (1b) and Eqs. (5a) to (5m). For the respective ranges x ≤ 0.3, and x ≥ 3, the the Taylor series of Eqs. (3a) and (3b) and the asymptotic expansions of Eqs. (4a) and (4b) were used.
  1 in total

1.  Concepts and Engineering Aspects of a Neutron Resonance Spin-Echo Spectrometer for the National Institute of Standards and Technology Center for Neutron Research.

Authors:  Jeremy C Cook
Journal:  J Res Natl Inst Stand Technol       Date:  2014-04-08
  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.