jaodesignbr

SUB FATORIAL (SENO POR SÉRIE DE TAYLOR)

Jun 5th, 2018
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REAL FUNCTION FATORIAL(N)
  2. ! Locais de memória
  3.    INTEGER N
  4. ! Cálculos
  5. FATORIAL = 1
  6.     DO I = 2,N,1
  7.     FATORIAL=FATORIAL*I
  8.     END DO
  9. END FUNCTION
Add Comment
Please, Sign In to add comment