APPENDIX B 
COMPUTER PROGRAM DESCRIPTIONS 
OVERVIEW 
The equations of motions developed in the previous sections of this report have been 
solved by means of digital computer programs. Two major programs have been developed: 
the first (MAIN) solves the equations of motion using the Runge-Kutta-Merson integration 
algorithm and generates time histories that are stored on the system disk. The second 
(PLTHSP) generates California Computer Products Company (CALCOMP) pen plots from the 
disk files. All programs were designed to operate on the Control Data Corporation computer 
system, located at the David W. Taylor Naval Ship Research and Development Center in 
Carderock, Md. 
Descriptions of input data required to execute the programs, job control cards, and 
programs follow. Sufficient detail is presented for this appendix to serve as a manual for 
use and maintenance. 
JOB CONTROL CARDS FOR PROGRAM MAIN 
Job control cards for program MAIN which computes time histories of the motion 
variables, are described as follows. If CALCOMP plots are not desired, TAPES need not be 
cataloged. 
Job Control Language Card: Comment 
Job Card 
Charge Card 
Standard facility card 
Standard facility card 
REQUEST,TAPE9,*PF. 
REQUEST,TAPE2,*PF. 
REQUEST,TAPE4,*PF. 
ATTACH,BINAR,SEFZARNICKNEWB, 
ID=XXXX. 
ATTACH,NSRDC. 
LDSET(LIB=NSRDC). 
BINAR. 
REWIND,TAPE2. 
REWIND,TAPE4. 
COPY(TAPE2,OUTPUT) 
COPY(TAPE4,OUTPUT) 
Bg, 
Reserves space for CALCOMP plot data 
Print output file 1 request 
Print output file 2 request 
Attaches binary run file 
Attaches library routines 
Loads library routines 
Loads and executes run file 
Rewinds time-history files for printing 
Prints time-history file 
Prints time-history file 
