XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Jsn()

Function Jsn ( U As  Double,
K As  Double,
Optional Info As  Long 
)

Jacobi elliptic functions sn(u, k)

Purpose
This routine computes the Jacobi elliptic functions sn(u, k).

The function is defined as follows, given:
u = ∫ 1/√(1 - k^2(sin(t))^2) dt [0, φ]
The angle φ is called the amplitude and:
sn(u, k) = sinφ
Returns
Double
sn(u, k).
Parameters
[in]UArgument u.
[in]KArgument k.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.
Reference
boost/math/special_functions