sin_integral

 

Description

Sine integral Si(x)

Syntax

double sin_integral( double x )

Parameters

x
[input] the argument x of the function

Return

Returns the value of the sine integral Si(x)

Examples

EX1

void sin_integral_ex1()
{
        double dx[5]= {0.2,0.4,0.6,0.8,1.0};
        for(int ii = 0; ii<5 ; ii++)
                printf("%lf:   %lf\n",dx[ii],sin_integral(dx[ii]));
}

Remark

See Also

cos_integral

Header to Include

origin.h

Reference