N.A. Chester,
Phase Transformations Group,
Department of Materials Science and Metallurgy,
University of Cambridge,
Cambridge, U.K.
To calculate the sum of the first twenty elements of an infinite series [1]; called by MAP_STEEL_NEWF2.
| Language: | FORTRAN |
| Product form: | Source code |
DOUBLE PRECISION FUNCTION MAP_UTIL_FUNCT(X) DOUBLE PRECISION X,MAP_UTIL_FUNCT
The function MAP_UTIL_FUNCT calculates the first twenty terms of an infinite series [1]:
This summation is required to solve the integral equation in MAP_STEEL_NEWF2.
None.
No information supplied.
Called by MAP_STEEL_NEWF2.
DOUBLE PRECISION X, MAP_UTIL_FUNCT, FUNX
WRITE(*,*) 'Input value for x:'
READ (*,*) X
FUNX = MAP_UTIL_FUNCT(X)
WRITE (*,1) FUNX
1 FORMAT (' Series sum = ',E13.5)
STOP
END
Input value for x: 0.02
Series sum = 0.20100E-01
series, summation
MAP originated from a joint project of the National Physical Laboratory and the University of Cambridge.
MAP Website administration / map@msm.cam.ac.uk