endw1
C ENDW1 SOURCE CHAT 05/01/12 23:39:20 5004 IMPLICIT INTEGER(I-N) IMPLICIT REAL*8 (A-H,O-Z) ONE = 1.D0 TWO = 2.D0 THREE = 3.D0 FOUR = 4.D0 IF (N.EQ.0) THEN RETURN ENDIF F1 = F1*(APB+TWO)*TWO**(APB+TWO)/TWO IF (N.EQ.1) THEN ENDW1 = F1 RETURN ENDIF FINT1 = FINT1*TWO**(APB+TWO) FINT2 = FINT2*TWO**(APB+THREE) F2 = (-TWO*(BETA+TWO)*FINT1 + (APB+FOUR)*FINT2) $ * (APB+THREE)/FOUR IF (N.EQ.2) THEN ENDW1 = F2 RETURN ENDIF DO 100 I=3,N DI = DBLE(I-1) ABNN = ABN+DI A2 = (TWO*(ALPHA-BETA))/(ABNN*(ABNN+TWO)) A3 = (TWO*(ABN+ONE))/((ABNN+TWO)*(ABNN+ONE)) F3 = -(A2*F2+A1*F1)/A3 F1 = F2 F2 = F3 100 CONTINUE ENDW1 = F3 RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales