File SIMPSO.

Directory of image this file is from
This file as a plain text file

	FUNCTION SIMPSON(N,H,F)
C	N=(UNGERADE) ANZAHL DER AEQUIDISTANTEN
C	STUETZSTELLEN (N GROESSER 3)
C	H=SCHRITTWEITE
C	F=FELD DER FUNKTIONSWERTE AN DEN STUETZSTELLEN
	DIMENSION F(N)
2	SIMPSON=F(1)+F(N)+4*F(N-1)
	M=N-3
	DO 8 I=2,M,2
8	SIMPSON=SIMPSON+2*F(I+1)+4(F(I)
	SIMPSON=SIMPSON*H/3.
	RETURN
	END



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search