[CHM 331] The Lineshape Mathematica Problem
Andrew J. Pounds
pounds_aj at mercer.edu
Sat Sep 3 13:34:52 EDT 2011
Okay gang -- I spent some time this morning trying to dissect the
problems you all were seeing while trying to solve problem 38 on page
188 of Steiner. Here is my solution from the competer in my office...
onmatrix
Now -- when I ran it on the computer at my house I got the error many of
you saw on Friday...
onrufus
So the problem, if you look at the output in the last problem is that
Mathematica does not know anything about the variable omega zero. This
new version of Mathematica lets us provide more information to the
integration and solver engines than previous versions of Mathematica.
We need to tell Mathematica that omega zero is an element of the reals,
and not an imaginary number. Way we do this is in then "Assumptions"
area we provide another argument for omega zero. Here is what you
should type -- with the <ESC> being the escape key in the upper left
hand corner of the keyboard
Assumptions -> { <ESC>omega<ESC>0 <ESC> elem <ESC> Reals, T > 0}]
You should then get something that looks like what I have below.
corrected
I'll send more helpful stuff along later this weekend.
--
Andrew J. Pounds, Ph.D. (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
-------------- next part --------------
Skipped content of type multipart/related
More information about the chm331
mailing list