Sine integral Si(x)
double sin_integral( double x )
Returns the value of the sine integral Si(x)
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])); }
origin.h