Calculators and standard deviation - Journal of Chemical Education

Calculators and standard deviation. Randolph Bruce Huff, and Kenneth Nolon Carter. J. Chem. Educ. , 1981, 58 (1), p 49. DOI: 10.1021/ed058p49.2. Publi...
0 downloads 0 Views 2MB Size
dent is confidentof hisendpoint value, he can then calculate the pK. of the weak acid at several points along the titration curve. Program ACIDRASE-North Star Version 3 BASIC, 100 statements, no comments. Students run ACIDRASE via Hazeltine 1500 CRT. Execution requires 32K of &hit words on a North Star Horizon. Documentation includes listing, flowchart, comments, and several sample executions. Students are given instructions prior to execution time via written handouts, and a t execution time via the terminal. Copies of the listine and documentation are available a t a cost of $1 to cover postage and handling. Check or money order should be made out to the Universitv of Nebraska and mailed in care of James D. Cam, ~ e ~ a r t m eofn Chemistry, t at the address given above.

A Versatile Program for Drill in Inorganic Nomenclature and Formula Writing Cassen University of North Carolina at Charlotte

T.

oxidation slate specified unnecessarily incorrect oxidation state ( 6 ) failure to enclose a specified oxidation state in parentheses ( 7 ) use o l a n unnecessary subscript un the cation (8) incorrect symbol for the cation (9) incorrect symbol for the anion (4)

(.5 .)

~

~

When an error message is generated the user is given the option to try again, or to request that the correct answer he displayed. There is no limit placed on the number of attempts that the user may make to provide the correct response. However, if the user requests the correct answer, the options that are provided after a correct response will also be presented. The names and formulas of the compounds used in NOMEC are " eenerated from two data files: CATDAF, which contains the symbols, oxidation states and names of cations and 0x0-acids, and ANDAF, which contains similar information for anions. These files, which are established by the instructor with a program called LDAFIL, may be readily modified with a program called UPDATF. CATDAF accepts 29 cations and 18 0x0-acids. ANDAF accepts 21 0x0-anions and 8 anions of binary salts. NOMEC may be run via TTY, Tektronix 4010 graphics terminal, or DEC Dec-writer. The program contains 481 executahle statements plus 204 comments and requires 8 K 12lbit words for execution. Since these reauirements exceed the memory capacity of the DEC P D P 8/e'Edusystem 50 for which NOMEC is written. the Dronram is executed in five o M be E modified c "chained" segments. H ~ ~ ~ ~ ~ , ' N may

Gaining proficiency in naming and writing formulas for the inorganic compounds that are usually encountered in freshman chemistry is largely a matter of practice, once one is familiar with the rules. For the Dast two years we have been using an interactive, timeshaling BASIC program called NOMEC to orovide our -reneral chemistry students with the opportunity to practice naming inorganic compounds, and to practice writing formulas for inorganic compounds. The program, which is based on the IUPAC system of nomenclahandout, all of which are available from the author for $1,to ture, is currently capable of generating the names and correcover mailing costs (make check payable to: Chemistry Desponding formulas for over 800 different inorganic compartment, University of North Carolina a t Charlotte). pounds. Typically, students are provided with a handout in which the rules of nomenclature, and instructions for the use of our computer terminals are set forth. Other than a brief discussion of the handout, no lecture time is spent on noCalculators and Standard Deviation menclature. Our experience indicates that our students can learn inorganic nomenclature using NOMEC as well, or better, than they can through formal classroom discussion, and with Randolph Bruce Huff and Kenneth Nolon Carter a substantial saving of lecture time. Presbyterian College Access to the program is gained upon input of some kind Clinton. SC 29325 of user identification (which may he retrieved by the ins r r u ( t ~ rThe ~ . user i? tirst rlvtn rhe option of eirhrr nu~~~it~g One must exercise care when using the standard deviation function of an electronic calculator to make sure that the cacumr)uund; a how immula-. ;lrv zenerated by the wmput(.r, pacity of the calculator is not exceeded. This would not seem or o i writing formulas for computer-generated names. Upon a problem with a student using ten-digit calculator to solve specifying a choice for this option, the user is presented with formula (I), usually given in chemistry texts. However, stua second option: The choice of practicing on one of three dents using calculators to solve formula (2) or formula (3) may available classes of compounds or to practice on a random produce erroneous results since squaring the numbers first selection of compounds drawn from among the three classes. can easily result in the inability of the calculator to correctly The selection made for this option can he changed only by solve the problem. terminating the program and restarting it. The three classes ~ LN, -( 1X- ?I2 , of compounds are (1) 0x0-acids, (2) binary salts, and (3) salts .T = (11 of 0x0-acids. If the user chooses to name compounds, the computer will generate the formula for a compound in acx E , z i Z- ( ~ ~ , Z , ) ~ I N cordance with the choice that was made regarding the second (2) s= N- 1 option. If the user chooses to practice writing f&mulas, the name of a compound will he generated in accordance with the = (3) second option. In either case, the user's response is analyzed N-1 and acknowledged to he correct if it is so. After each correct Table 1gives a summary of results obtained from the following response the user is given the option to write formulas, name series of five weighings on an analytical balance: 6.1153, compounds, or terminate the program. 6.1159,6.1160,6.1161,6.1158.The results are given to the full On the other hand, aspecific error message will he generated extent displayed by the calculator to help give additional infor each of the following kinds of errors: sight. An answer of zero would obviously alert the operator to the (1) misspelled, or incorrect cation name problem, hut when the calculator is operating in the neigh( 2 ) misspelled, or incorrect anion name borhood of its capacity, it may give an erroneous result not a t (3) failure to specify the oxidation state of the cation when one once apparent, as demonstrated by the HP-45 result when the should be specified ~

~

-4 -4~~

Volume 58, Number

1. January 1981 / 49

order of data entrv was reversed. If a 1is substituted for the initial 6 in each ofthe numhers of the set of data, the correct value for the standard deviation is obtained. Similar substitution of 0 for 6 gives a set that the Sharp can handle properly. And, even with calculators that display the same number of significant figures, differences in answers may result because of different numbers of figures carried internally, or by differences in roundine off orocedures. Priorto submitting the final draft of this note for publication we wrote to Hewlett-Packard, Texas Instruments, and Sharp Electronics to indicate our findings and request clarification as to the method used by each calculator to calculate standard deviation. The only reply received by the publication deadline was from Sharo. I t stated that formula 3 above is used by the EL-5808. Editor's Note: The fact that the result of such a simple calculation as this can vary depending on the formula used, even though all formulas are identical algebraically, might serve as an introduction to real (as opposed to infinitely precise) calculations. Because of round-off errors, i t does matter which method one chooses for a given calculation.

Selected Bibliography of Computer Programs in Chemical Education Warren T. Zemke Wartburg College Waverly. IA 5 0 6 7 7 This hihliography is an extension to the earlier bibliography found in the CONDUIT 1977 State of the Art Reports and also noted in this Journal (7); all references are to this Journal for the years 1976 through 1979. Besides the author, title, and location of each entry, the computer language and machine are given if available. No article is listed more than once even though there may be mention of more than one type of program in the article. To assist the reader, a brief statement about the Droerams or usaae is often eiven. The articles are cataloged ;n&r four headings: (1) ~ i o g r a m sfor Chemical Calculation, (2) Programs for Simulation or Display Purposes, (3) Programs for Treatment of Experimental Data, and (4) Programs for Grading, Sorting, and Record-keeping. Bibliography entries are limited t o programs for digital

SO / Journal of Chemical Education

Results of Calculating Standard Deviallon Uslng Various Pocket Calculators. How Calc~lated

Common arllhmetic HP-45 HP-45 (reverse order entry) SRdlA SR-51-11 TI-55 TI-58 Sharp EL-5808 Wang-2200

Mean 6.11594 6.11594 6.11594 6.11594 6.11594 6.11594 6.11594 8.11594 6.11594

Standard Dsviation Iof a ramold 1.140175425 X lo-' 0.000000000 1.581138630 X lo-' 1.140175 X lo-' 1.140175 X lo-' 1.118X l O P 1.140175 X l O P 0. 1.11803398 X lo-'

computers. Due to increased usage, microcomputer and programmahle calculator programs are included. With rare exception, programs involved in computer-controlled direct interface experiments are excluded. Although this Journal contains numerous articles on the use of programs in the chemical curriculum, an article was not included in the bibliography unless the author indicated that a program was available upon request. The earlier hihlioeraohv covered the vears 1967-75. Persons interested in obtaining the updated 1976-79 bibliography can send $1to CONDUIT. Box 388. Iowa Citv. IA 52244. Persods wishing the complete 1967-79 bibliography should send $2.

-..

Literature Cited I l l Pmen@d s t i h e 4 i h Narinnsl Workahopon Cnmpullra in Chemical FAueslim.Es*llrn Michlynn llnive~rily.Ypxilanli, Michiyan, I7 Auyust 1979,l'hisw~,rkwar~upporlld by n IiDC 1:rsnl h m the P ~ w u l ~Develcrpmunr y Commirllu n i Mzriimaik College. Submitted liy Mi. ,I. 'i'. Curiie. dr, in partial fulilllmenl lor rho H.S. desrss in Chemblry,.lune 1979. 121 Prrrant acldraxr: Chcmie~lyDeparrment, Viryinia Polyreehnie lnrfitufe and State University, Hlnckabur8, YA 24061. IS) Bell. H. M., I. C H R M RDIJC., 5425 119751. 141 Celkins, K. 0. and M e y , K. P,,.I. CHEM. RI)UC., 56,522 119781. 151 13vans.J.CHL:M EI>UC.,53, 198ll9761. H ~1.: A,,.!. ~CHIIM. Enrrc.. ~ 62, ~ 186 1197~1. ~ ~ ~ IS) I J ~ I , I , . I.I. (71 Pora listiny d o t h e r pn,yramai,ithls~~ntvrepublishedin.l.CHBM RDUC.. t h e r e d e r is reierrrd to W. Zomke. "Selected Hibiigrai,hy ,of Computer 13royramain Chemical Education." Condu,t/Ccntral. Iowa City. IA 52240; J. CHRM. EIXIC.. 52, 59? lIil751. 181 Hem,". J. 1)udl~y.Seiencs T*oehor. 4Illl. 26 lI(n7):Streitherw, E., Seimrr Teacher, &dl"), :I5 (1977); Pmcpedinyx o i an Intornelimnl Cwlerence on lntrduetory Chemistry, McMsrter Llniversity. Hamilton, Ontario. June 1978: Hcnt. H.. el a!., d. C H E M I?I)UC.,55,818119710. 19) Worthy, W., Chum. E n 8 Nrrux. 571:151 Y O 119191. 110) Mmre. d. W. and Mum. I(.A,. "Bnvin,nmenlalCh~mistry."A~adcmiePrsu. New Vwk. lWa; Eduruliun in Chrmislry.

MaeAuliffr,C.A,, 15.21 11978.

,