CodeCogs - An iteractive open source Numerical library Welcome... Login
CodeCogs
shopping cart
OSXWindowsLinux
Search CodeCogs
Numerical Components

Valid RSS

MathsSpecialBessel

Kelvin

Available under GPL (Free) and Commercial licence
get a GPL licence
COST (GBP)
this unit 3.09
sub units 0.00
add a commercial licence to your cart
0
viewed 2721 times and licensed 51 times

Function used at calculating asymptotic expansions.

Controller: CodeCogs  Contact Controller
+View version details
Contents hide toc
buy now     get GPL     add to cart

Group Description

This module contains components which calculate different types of Kelvin functions.

Interface

#include <codecogs/maths/special/bessel/kelvin.h>

using namespace Maths::Special::Bessel;

double f1 (double x)
ExcelReal cc_f1 (Real x)
This function is available as a Microsoft Excel add-in.
double f2 (double x)
ExcelReal cc_f2 (Real x)
This function is available as a Microsoft Excel add-in.
double g1 (double x)
ExcelReal cc_g1 (Real x)
This function is available as a Microsoft Excel add-in.
double g2 (double x)
ExcelReal cc_g2 (Real x)
This function is available as a Microsoft Excel add-in.
double M (double x)
ExcelReal cc_M (Real x)
This function is available as a Microsoft Excel add-in.
double theta (double x)
ExcelReal cc_theta (Real x)
This function is available as a Microsoft Excel add-in.
double N (double x)
ExcelReal cc_N (Real x)
This function is available as a Microsoft Excel add-in.
double phi (double x)
ExcelReal cc_phi (Real x)
This function is available as a Microsoft Excel add-in.
double Bei (double x)
Evaluates the Bei function.
ExcelReal cc_Bei (Real x)
This function is available as a Microsoft Excel add-in.
double Ber (double x)
Evaluates the Ber function.
ExcelReal cc_Ber (Real x)
This function is available as a Microsoft Excel add-in.
double Kei (double x)
Evaluates the Kei function.
ExcelReal cc_Kei (Real x)
This function is available as a Microsoft Excel add-in.
double Ker (double x)
Evaluates the Ker function.
ExcelReal cc_Ker (Real x)
This function is available as a Microsoft Excel add-in.
double dBei (double x)
Evaluates the derivative of the Bei function.
ExcelReal cc_dBei (Real x)
This function is available as a Microsoft Excel add-in.
double dBer (double x)
Evaluates the derivative of the Ber function.
ExcelReal cc_dBer (Real x)
This function is available as a Microsoft Excel add-in.
double dKei (double x)
Evaluates the derivative of the Kei function.
ExcelReal cc_dKei (Real x)
This function is available as a Microsoft Excel add-in.
double dKer (double x)
Evaluates the derivative of the Ker function.
ExcelReal cc_dKer (Real x)
This function is available as a Microsoft Excel add-in.

Function Documentation

Add calculator to website or email
 
doubleBeidoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial approximation :
\mathrm{Bei\,} x = \sum_{n \geq 0} \frac { (-1)^n (\frac{1}{2}x)^{4n+2}} {[(2n+1)!]^2}

otherwise it calculates its asymptotic expansion :
\mathrm{Bei\,} x = \frac { \mathrm{e}^{ \frac{x}{\sqrt{2}} } }{ \sqrt{2\pi x} } \left( f(x) \sin \alpha + g(x) \cos \alpha \right) + \frac{ \mathrm{Ker\,} x}{\pi}

where

\alpha = \frac{x}{\sqrt{2}} - \frac{\pi}{8}
f(x) \sim 1 + \sum_{n \geq 1} \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \cos \left( \frac{n\pi}{4} \right)
g(x) \sim \sum_{n \geq 1} \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \sin \left( \frac{n\pi}{4} \right)
Parameters:
xThe value at which the function is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Add calculator to website or email
 
doubleBerdoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial approximation :
\mathrm{Ber\,} x = 1 + \sum_{n \geq 1} \frac { (-1)^n (\frac{1}{2}x)^{4n}} {[(2n)!]^2}

otherwise it calculates its asymptotic expansion :
\mathrm{Bei\,} x = \frac { \mathrm{e}^{ \frac{x}{\sqrt{2}} } }{ \sqrt{2\pi x} } \left( f(x) \cos \alpha + g(x) \sin \alpha \right) - \frac{ \mathrm{Kei\,} x}{\pi}

where

\alpha = \frac{x}{\sqrt{2}} - \frac{\pi}{8}
f(x) \sim 1 + \sum_{n \geq 1} \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \cos \left( \frac{n\pi}{4} \right)
g(x) \sim \sum_{n \geq 1} \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \sin \left( \frac{n\pi}{4} \right)
Parameters:
xThe value at which the function is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Add calculator to website or email
 
doubleKeidoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial approximation :
\mathrm{Kei\,} x = - \left(\ln \frac{x}{2} + \gamma \right) \mathrm{Bei\,}x - \frac{\pi}{4} \mathrm{Ber\, }x + _\sum_{n \geq 0} (-1)^n \frac{\mathrm{H}_{2n+1}}{[(2n+1)!]^2}  \left( \frac{x}{2}\right)^{4n+2}
where
\gamma \approx 0.577215664... \quad \mbox{(the Euler-Mascheroni constant)} \quad \mbox{and} \quad _\mathrm{H}_n = \sum_{k=1}^n \frac{1}{k}

otherwise it calculates its asymptotic expansion :
\mathrm{Kei\,} x = \sqrt{\frac{\pi}{2x}} \mathrm{e}^\frac{-x}{\sqrt{2}} \left(-f(x) \sin \beta - g(x) \cos \beta \right)

where

\beta = \frac{x}{\sqrt{2}} + \frac{\pi}{8}
f(x) \sim 1 + \sum_{n \geq 1} (-1)^n \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \cos \left( \frac{n\pi}{4} \right)
g(x) \sim \sum_{n \geq 1} (-1)^n \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \sin \left( \frac{n\pi}{4} \right)
Parameters:
xThe value at which the function is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Add calculator to website or email
 
doubleKerdoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial approximation :
\mathrm{Ker\,} x = - \left(\ln \frac{x}{2} + \gamma \right) \mathrm{Ber\,}x - \frac{\pi}{4} \mathrm{Bei\, }x + _\sum_{n \geq 0} (-1)^n \frac{\mathrm{H}_{2n}}{[(2n)!]^2}  \left( \frac{x}{2}\right)^{4n}
where
\gamma \approx 0.577215664... \quad \mbox{(the Euler-Mascheroni constant)} \quad \mbox{and} \quad _\mathrm{H}_n = \sum_{k=1}^n \frac{1}{k}

otherwise it calculates its asymptotic expansion :
\mathrm{Ker\,} x = \sqrt{\frac{\pi}{2x}} \mathrm{e}^\frac{-x}{\sqrt{2}} \left(f(x) \cos \beta - g(x) \sin \beta \right)

where

\beta = \frac{x}{\sqrt{2}} + \frac{\pi}{8}
f(x) \sim 1 + \sum_{n \geq 1} (-1)^n \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \cos \left( \frac{n\pi}{4} \right)
g(x) \sim \sum_{n \geq 1} (-1)^n \frac{1 \cdot 9 \cdot \ldots \cdot (2n - 1)^2}{n!(8x)^n} \sin \left( \frac{n\pi}{4} \right)
Parameters:
xThe value at which the function is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


D Bei Calculator
  
Add calculator to website or email
 
doubledBeidoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial resulted by differentiating the approximation polynomial of the Bei function. Otherwise it calculates its asymptotic expansion :

\mathrm{Bei}'\,x = M \sin \left( \theta - \frac{\pi}{4} \right)

where

M = \frac{ \mathrm{e}^{ \frac{x}{\sqrt{2}}} }{\sqrt{2\pi x}} \left( 1+\frac{1}{8\sqrt{2}x} + \frac{1}{256x^2} - \frac{399}{6144\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^4} \right) \right)

\theta = \frac{x}{\sqrt{2}} - \frac{\pi}{8} - \frac{1}{8\sqrt{2}x} - \frac{1}{16x^2} - \frac{25}{384\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^5} \right)
Parameters:
xThe value at which the derivative is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


D Ber Calculator
  
Add calculator to website or email
 
doubledBerdoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial resulted by differentiating the approximation polynomial of the Ber function. Otherwise it calculates its asymptotic expansion :

\mathrm{Ber}'\,x = M \cos \left( \theta - \frac{\pi}{4} \right)

where

M = \frac{ \mathrm{e}^{ \frac{x}{\sqrt{2}}} }{\sqrt{2\pi x}} \left( 1+\frac{1}{8\sqrt{2}x} + \frac{1}{256x^2} - \frac{399}{6144\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^4} \right) \right)

\theta = \frac{x}{\sqrt{2}} - \frac{\pi}{8} - \frac{1}{8\sqrt{2}x} - \frac{1}{16x^2} - \frac{25}{384\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^5} \right)
Parameters:
xThe value at which the derivative is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


D Kei Calculator
  
Add calculator to website or email
 
doubledKeidoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial resulted by differentiating the approximation polynomial of the Kei function. Otherwise it calculates its asymptotic expansion :

\mathrm{Kei}'\,x = N \sin \left( \phi - \frac{\pi}{4} \right)

where

N = \sqrt{\frac{\pi}{2x}} \mathrm{e}^{\frac{-x}{\sqrt{2}}} \left( 1-\frac{1}{8\sqrt{2}x} + \frac{1}{256x^2} + \frac{399}{6144\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^4} \right) \right)

\phi = -\frac{x}{\sqrt{2}} - \frac{\pi}{8} + \frac{1}{8\sqrt{2}x} - \frac{1}{16x^2} + \frac{25}{384\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^5} \right)
Parameters:
xThe value at which the derivative is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


D Ker Calculator
  
Add calculator to website or email
 
doubledKerdoublex )
This function uses two methods of approximation. If the argument falls below the MIN limit it uses the polynomial resulted by differentiating the approximation polynomial of the Ker function. Otherwise it calculates its asymptotic expansion :

\mathrm{Ker}'\,x = N \cos \left( \phi - \frac{\pi}{4} \right)

where

N = \sqrt{\frac{\pi}{2x}} \mathrm{e}^{\frac{-x}{\sqrt{2}}} \left( 1-\frac{1}{8\sqrt{2}x} + \frac{1}{256x^2} + \frac{399}{6144\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^4} \right) \right)

\phi = -\frac{x}{\sqrt{2}} - \frac{\pi}{8} + \frac{1}{8\sqrt{2}x} - \frac{1}{16x^2} + \frac{25}{384\sqrt{2}x^3} + \mathrm{O} \left( \frac{1}{x^5} \right)
Parameters:
xThe value at which the derivative is to be evaluated.
Authors:
Lucian Bentea
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 26 Jan 08 @ 22:09     Page Rendered: 2010-03-10 11:25:38

Valid CSS!   Valid XHTML 1.0 Transitional