home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Chemistry / RateLaw / RateLaw.app / Info.nib (.txt) < prev    next >
NeXT TypedStream Data  |  1992-08-14  |  34KB  |  319 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [770c]
  8. typedstream
  9.     HashTable
  10. Object
  11. FirstResponder
  12. HeaderClass
  13. %%%%i@@
  14. firstnib
  15. checkSpelling:
  16. alignSelCenter:
  17.     unscript:
  18. pasteFont:
  19. runPageLayout:
  20. superscript:
  21. copyRuler:
  22.     copyFont:
  23. selectAll:
  24. pasteRuler:
  25. toggleRuler:
  26. showGuessPanel:
  27. alignSelLeft:
  28. paste:
  29. performClose:
  30. arrangeInFront:
  31. subscript:
  32. copy:
  33. alignSelRight:
  34. delete:
  35. orderFrontColorPanel:
  36. underline:
  37. performMiniaturize:
  38. /usr/include/sys/message.h
  39. genericobject_nib
  40. aButton
  41. forward
  42. theory
  43. blank
  44. reverse
  45. infoView
  46. legal
  47. info:
  48. theory:
  49. legal:
  50. help:
  51. windowButtonClicked:
  52. [32704c]
  53. typedstream
  54.     HashTable
  55. Object
  56. Sound
  57.     collsound
  58. [1564c].snd
  59. $    M    M
  60. boundsound
  61. [15132c].snd
  62. <    Q    Q
  63. "    w    w
  64. P    '    '    
  65. \    ]    ]
  66. Bitmap
  67. arrowsshadedbetter2
  68. iii00
  69. [576c]
  70. *jjfff
  71. jjfff
  72. jjfffff
  73. arrowsshadedbetter
  74. credits
  75. jjjjjjjj`*jj
  76. ffffffd
  77. ffffffD"ffff
  78. efefed
  79. VVVVV@PVVVVV
  80. UUUUUQ
  81. UUUUU
  82. PUUUUUU
  83. UUUTPUUUUUUUYYP@
  84. YYYYYYYUU@
  85. UUUUUUUU
  86. UUUUUUUUQA@UYUYUYUYU@
  87. QUUUUUUUUU
  88. UUUUUUUUUP
  89. UUUUUUUUU@
  90. EEEEEEEEEU@
  91. UUUUUUUUUTT
  92. TTTTTTTTTUUUUUUUUUUUUEEEEEEEEEEEEUUUUUUUUUUUUDDDDDDDDDDDDUUUUUUUUUUUUDDDDDDDDDDDD
  93. DDDDDDDDDDDD
  94. QDDDDDDDDDDDD
  95. FischerMailHead
  96. [1024c]
  97. DDUTD
  98. UUUUP
  99. EUUTD
  100. UUUUU
  101. UeUUP
  102. eUVeQUR
  103. fVUeUUUW
  104. DDEY[
  105. zjfUUUUU
  106. UUUUUUUW
  107. UEUDDU[
  108. eUUUP
  109. UTDDD
  110. @&UUUU
  111. TTDD@DE
  112. @%UUUQP
  113. TDTDDDDF
  114. UUUUU
  115. DTTTTDDK
  116. P)QUUUUUQ_
  117. DDEUDDDo
  118. DDDDDE
  119. YTDDDDDJ
  120. UTDD@@DN
  121. DDDDDD_
  122. NXImage
  123. Williams
  124. NXBitmapImageRep
  125. NXImageRep
  126. iissss@@
  127. DDDDF
  128. DDDDD
  129. DDD@DDE
  130. DDDDDDD[
  131. DDDDDDDDF
  132. UDDDD
  133. UVjfUQ
  134. QUefe
  135. iUaUP
  136. NibData
  137. @@@@s
  138. Storage
  139. {*@@}
  140.     [17{*@@}]
  141. File's Owner
  142. CustomObject
  143.     InfoPanel
  144. WindowTemplate
  145. iiii***@s@
  146. Panel
  147.     Responder
  148.     TextField
  149. Control
  150. TextFieldCell
  151. ActionCell
  152. Version 002
  153.     Helvetica
  154. ICopyright 1992, Rose Hulman Institue Of Technology.  All Rights Reserved.
  155. Button
  156. ButtonCell
  157. CustomView
  158. David Fischer
  159. Times-Roman
  160. and James Williams
  161. VersionNumber
  162. Field
  163. Field3
  164. Button2
  165. Button1
  166.  Help
  167. ScrollView
  168. ClipView
  169. ciifffcfffs
  170. [2687c]{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\ftech Symbol;\f2\fswiss Helvetica;}
  171. \margl40
  172. \margr40
  173. {\colortbl\red0\green0\blue0;}
  174. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs36                                        
  175. \i\fs116 Rate Law
  176. \i0\fs28 \
  177.     Rate Law demonstrates the elementary reaction rates, system equilibrium and reaction completion both graphically and numerically for the generic equation\
  178. aA + bB = cC + dD and its variations.\
  179. \i\fs36 The Windows:
  180. \i0\fs28 \
  181.     When RateLaw launches, the 
  182. \b Component Parameters
  183. \b0  window, 
  184. \b Reaction
  185. \b0  window, and a control window will appear.  The 
  186. \b Component Parameters
  187. \b0  window is where the data about the chemical equation to be simulated is set. By means of the slider or the text fields, the coefficients and initial moles of the chemicals may be set.  By using the fields that contain the component names, the names of the chemicals may be set.  The 
  188. \b Reaction
  189. \b0  window is where the reaction takes place. There are fields for the maximum amount of moles possible, the percent present of this maximum, the current amout of moles, and the current value of the mass-action ratio, Q. The control window is where the reaction is controlled, and  represents the document window for a reaction. By selecting the 
  190. \b Tools
  191. \b0  option from the main menu, you can also open the 
  192. \b Constant Parameters
  193. \b0  window where the rate constants of the reaction may be set.\
  194. \i\fs36 Running a Simulation:\
  195. \i0\fs28     To run a simulation of a reaction, first enter the data for the reaction then click the 
  196. \b Init
  197. \b0  button on the control window. This will initialize the reaction you have entered, or warn you that the reaction is invalid. After the 
  198. \b Init
  199. \b0  button has been pressed, use the 
  200. \b Start
  201. \b0 , 
  202. \b Stop
  203. \b0 , and 
  204. \b Step
  205. \b0  buttons to control the reaction. Use the slider, text field, pull-down menu, or the 
  206. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f1\fs26\fc0 
  207. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b 10 
  208. \b0\fs28 and 
  209. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f1\fs20\fc0 
  210. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\fs26 10
  211. \b0\fs28  buttons to control the speed of the reaction and the number of data points recorded. Click the 
  212. \b Plot Data
  213. \b0  button at any time during the reaction to display a plot of the recorded data.\
  214. \i\fs36 \
  215. Opening or Saving a Reaction:\
  216. \i0\fs28 To open or save a file, simply choose from the 
  217. \b Document
  218. \b0  option in the main menu. From there you may load, save, 
  219. NXCursor
  220. NXibeam
  221. Scroller
  222. _doScroller:
  223. @@@ffs    
  224. ScrollingText
  225. Legal
  226. [1302c]{\rtf0\ansi{\fonttbl\f2\fswiss Helvetica;\f0\fnil Times-Roman;}
  227. \margl40
  228. \margr40
  229. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs30 This application was developed in support of the Integrated First-Year Curriculum in Science, Engineering, and Mathematics at  Rose-Hulman Institute of Technology.\
  230. This curriculum project is supported by the National Science Foundation, the General Electric Foundation, and Lilly Endowment, Inc.\
  231. If you are interested in this or any other program written by the developers of IFYC, please feel free to contact any of the following people:\
  232. \fs26 \
  233. \i Dr.  Jerry Fine, Mechanical Engineering\
  234. Campus Box 140\
  235. ext. 353\
  236. fine@sem.rose-hulman.edu\
  237. Dr. Jeffrey Froyd, Electrical Engineering\
  238. Campus Box 111\
  239. ext. 340\
  240. froyd@sem.rose-hulman.edu\
  241. Dr. Mike Moloney, Physics\
  242. Campus Box 161\
  243. ext. 302\
  244. moloney@sem.rose-hulman.edu\
  245. Dr. Edward Mottel, Chemistry\
  246. Campus Box 71\
  247. ext. 315\
  248. mottel@sem.rose-hulman.edu\
  249. Dr. Brian Winkel, Mathematics\
  250. Campus Box 132\
  251. ext. 412\
  252. winkel@sem.rose-hulman.edu\
  253. \b\i0\fs34 \
  254. \f0\fs28          c/o Rose-Hulman Institute of Technology\
  255.                5500 Wabash Avenue\
  256.         Terre Haute, Indiana, USA  47803\
  257.                      phone 812-877-1511\
  258.                         or\
  259.                      812-877-8 + ext.\
  260. Theory
  261. [2343c]{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fswiss Helvetica;}
  262. \margl40
  263. \margr40
  264. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i\ul0\fs36 The Inner Workings: 
  265. \i0\fs28 \
  266.     Every chemical reaction has a rate of reaction.  The reaction we study is:\
  267.                 aA + bB = cC + dD.\
  268. The rate of this reaction is:\
  269.                           kf [A]
  270. \up10 m
  271. \up0  [B]
  272. \up10 n
  273. \up0   =  -kr [C]
  274. \up10 q
  275. \up0  [D]
  276. \up10 p
  277. \up0 \
  278. where:\
  279.         kf is the forward reaction rate constant.\
  280.         kr is the reverse reaction rate constant.\
  281.         [A] is the concentration of A at time t.\
  282.         [B] is the concentration of B at time t.\
  283.         [C] is the concentration of C at time t.\
  284.         [D] is the concentration of D at time t.\
  285.         m, n, q, and p are constants that change from one \
  286.         reaction to another and are not necessarily \
  287.         related to the coefficients, a, b, c, and d.\
  288. The rate of change can also be specified with respect to each participant in the reaction:\
  289.            -1     d[A]        -1     d[B]         1   d[C]          1    d[D]\
  290.           ----   -----  =   ----   ------  =  ---  ------  =   ---   ------   = \
  291.             a       dt            b        dt           c      dt             d       dt\
  292.                    kf * [A]^m * [B]^n  =  -kr * [C]^q * [D]^n\
  293. Therefore:\
  294.             - d[A]\
  295.                -----    =      a *kf * [A]^m * [B]^n\
  296.                 dt\
  297. and :\
  298.          d[A]  =  - a *kf * [A]^m * [B]^n * dt = change in [A]\
  299. So at any time t, dt after the the last time checked:\
  300. concentration of A at time t equals previous concentration of A plus the change in \
  301. concentration of A = \
  302. [A](at t) = [A](prior t) + d[A] = \
  303. [A](prior t) - a * kf * [A]^m * [B]^n * dt\
  304. In an equilbrium reaction, A + B = C + D, where both forward and reverse reactions are present:\
  305. concentration of A equals previous concentration of A plus the change in concentration of A plus the change in concentration of C =\
  306. [A](prior t) - a * kf * [A]^m * [B]^n * dt + a * kf * [C]^q * [D]^p * dt\
  307. likewise:\
  308. concentration of C equals previous concentration of C plus the change in concentration of C plus the change in concentration of A =\
  309. [C](prior t) - c * kf * [C]^q * [B]^p * dt + c * kf * [A]^m * [B]^n * dt\
  310. Finally, equilibrium is reached when the rate of change of the reactants and products reaches zero, or for our purposes, is very close to zero.\
  311. {i*@@@}
  312. [9{i*@@@}]
  313. infoView
  314. legal
  315. theory
  316. performClick:
  317. aButton
  318. windowButtonClicked:
  319.