XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Airyai_sub()

Sub Airyai_sub ( Ret As  Double,
X As  Double,
Optional Info As  Long 
)

Airy function Ai(x) (Subroutine version)

Purpose
Computes the Airy function Ai(x).
Ai(x) = (1/π) * ∫ cos((1/3)t^3 + xt) dt [0, ∞]
Parameters
[out]RetAiry function Ai(x).
[in]XArgument x.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.
Reference
boost/math/special_functions