CNLMath : Special Functions : fresnel_integral_S
fresnel_integral_S
Evaluates the sine Fresnel integral.
Synopsis
#include <imsl.h>
float imsl_f_fresnel_integral_S (float x)
The type double function is imsl_d_fresnel_integral_S.
Required Arguments
float x (Input)
Argument for which the function value is desired.
Return Value
The sine Fresnel integral.
Description
The sine Fresnel integral is defined to be
Example
The Fresnel integral S(1.75) is evaluated.
 
#include <imsl.h>
#include <stdio.h>
 
int main()
{
float x = 1.75;
float ans;
 
x = imsl_f_fresnel_integral_S (x);
printf ("S(1.75) = %f\n", x);
}
Output
S(1.75) = 0.499385