CHEM 5 Lecture Notes - Quartic Function, Reaction Rate Constant, Rate Equation

35 views10 pages
School
Department
Course

Document Summary

Lists of data arise in many circumstances, e. g. , a series of measurements made as a function of time, etc. In mathe- matica, a list is simply a collection of objects stored between brackets, and assigned to a name. The elements of a list can be whatever you want: Lists can be generated using the table command, which takes two arguments. The first is the expression to be evaluated, and the second gives the variable and the its range. In[265]:= h* create list of squares of i for i = 1 to i = 10 *l squares = table@i^2,8i, 1, 10