derlining are supported. The operator can adjust top and left margins, pen color, plotting speed, character height, and aspect ratio (heightlwidth ratio), character slant, and line spacing. Once these parameters are selected, the program will proceed to plot the previously prepared text file. Text can be entered either from the keyboard just before plotting or fetched from prerecorded tape files. In either case the powerful 9825A editor simnlifies text nrevaration and error correction. A repeat featire allows t i e page to be marked over aeain if it is not dark enourh - or allows additional copies to be made. If non-standard characters are desired, the delimiter "I" is embedded in the text string to denote that a special character will follow; this nearly douhles the numher of keyboard characters. On encountering a "I" the program checks the next character to determine what special function must be invoked. If the special function requested is a printable character or simple operation, the character need only be defined through the plotter's user-defined character instruction. Additional special characters or functions are readily added to the dispatch table. Our special characters are: a carriage return and line feed ([C),and N (la), a (:-), a 9({0),a v(iv), a f (I#), a =F (I$), a hack space (IB),and a I ( I I). Other special control characters include: the underline (I-) with its terninator (&), the superscript mode (IU) with its terminator (In), and the subscript mode (ID) with its terminator (Id). The repeat function (IS) terminates a page. The repeat function "IS" is placed in the text string to indicate the end of each page of text. On encountering "IS" the computer moves the pen to the side and asks the user if the page is to he repeated. If answered in the affirmative, the plot narameters are reset to the initial values and the entire . Daee is replotted. This process is repeated until the operator anvaee swers in the neeative. If the . .. is not to be repeated, the d o t parameters for the next page are set up in a dialog. For unanswered questions the previous page's parameters remain in effect. The super- ( J U )and suhscript ( { D )modes shift the print line up and down, respectively, and decrease the charac size for an appealing presentation. All special characters are functional during super- and suhscripting. and terminated either by Underlining is started by ' I-" "I-" or "IS". All characters ex underlining and subscrintine . piaced bekween the underline delimiters will be underlined. Carriage return line feeds do not terminate underlining. The current program is written in Hewlett-Packard's Basic-like HPL lanrnaee for an H P 9825A calculator. It requires the plotter-~dvanced110, Advanced Programming and String KOM's. A program listing is available by sending a self-addressed stamped envelope to J. N. Demas a t the above address. The program can be copied by sending a carefully packed, new, certified cassette tape and $3.00 to .J. N. Demas. We gratefullv acknowledee sunvort bv the Air Force Office of Scientific ~ k s e a r c h(78:3596)and the donors of the Petroleum Research Fund, administered by the American Chemical Society.
-
-
A Simple Hiickel Molecular Orbital Computer Program Written in BASIC for Microcomputer Use Barrie M. Peake and Roger Grauwmeijer Unversity of Otago P.0 Box 56 Duned~n,New Zeaiand The Simple Hiickel Molecular Orhital (SHMO) method is now included in most senior undergraduatelgraduate courses in quantum chemistry or theoretical organic chemistry. Hand 692
Journal of Chemical Education
calculations using this method are instructive hut limited due to the difficulty in solving the secular determinant for anything much more complicated than five-atom 71 framework (unless svmmetrv is used to block the determinant). Hence taining a large numher of atoms including heteioatoms. T o the best of our knowledae those that have heen published with one exception, viz. a p r o & n for an HP-25 calc;la(nr ( 4 ) ,have all been for execution on mainframe or minicomputers. The wide availability and acceptance of microcomputers in Chemistry Departments has been documented in previous ~ o m p u t e series r articles, and it became apparent to us that there was a real need for a SHMO program which would run on a variety of common microcomputers. We wish to report just such a program (HUCKELIBASIC) which we have written in the BASIC language for execution either on a Motorola 6800 Polyvalent System, Cumpucolor I1 or Apple I1 microcumouter all with 16 K of random access memurv two-dimensional arrays. The nroeram is based on the FORTRAN IV SHMO vrogram d k ~ c ~ i b eind a recent quantum chemistry text ( 5 ) a n d originally designed to be executed on an IBM 360 system. The input is simple and is prompted by questions within the program. It is currently dimensioned to handle up to 15 atoms (including heteroatoms) but this can he easily changed throuah alteration of a DIM statement. It calculates eneraies, molecdar orbital coefficients, bond orders, electron densities and polarizabilities for homonuclear and heteronuclear conjugated molecules, and bond lengths and free valences for homonuclear systems. Execution times for HUCKELBASIC on anv of the above for a complete calculation on benzene took 15 min on the Motorola 6800 Polwalent svstem. 1.50 min on the Comnucolor I1 and 1.3 mi; on the Apple 11. In spite of this we hive found from student use, that this increase in computation time is more than compensated for by the ready access and availahilitv of most denartmental comvuters toeether with immediate access to iutput. Further details and listings of the various versions of this program are availahle from the authors. Please specify which version, and in order to cover postage and printing costs send a check or money order for $5 (U.S. or New Zealand currency) made out to B.M. Peake, Chemistry Department, University of Otago, P.O. Box 56, Dunedin, New Zealand.
PMR Spectroscopy on a PET Glenn E. Palmer University of Prince Edward island Charlottetown. P.E.I. Canada C I A 4P3 The nrocess of develovine . " the ahilitv to interoret PMR spectra can be divided into discrete learning stages. In the first of these, the student must learn to recoenize with alacritv the e in a p3rticul:rr region t y p ~,,iprd.m which p r o ~ ~ u ac iy1131