I am very new to fortran and I have been assigned to write a Simpsons 1/3 function. Below is what I have come up with but it is outputting the area as 0. All help is greatly appreciated.
Program test
IMPLICIT NONE
REAL :: n, simp13, Simpson13
INTEGER, DIMENSION(10) :: V
INTEGER :: h
V =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.