2.1.16.6.2.1 cos_integral


Description

Cosine integral Ci(x)

Syntax

double cos_integral( double x )

Parameters

x
[input] the argument x of the function

Return

Returns the value of the cosine integral Ci(x)

Examples

EX1

void cos_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],cos_integral(dx[ii]));
}


Remark

See Also

sin_integral

Header to Include

origin.h

Reference