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