14 lines
236 B
C
14 lines
236 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
void main()
|
|
{
|
|
double x, y, z;
|
|
|
|
x = j0( 2.4 );
|
|
y = y1( 1.58 );
|
|
z = jn( 3, 2.4 );
|
|
printf( "j0(2.4) = %f, y1(1.58) = %f\n", x, y );
|
|
printf( "jn(3,2.4) = %f\n", z );
|
|
}
|