A Physicist's Guide to Mathematica

Version 3 Updates

Welcome!

August 1, 1997 

IMPORTANT

Do not key in the input labels In[n] := . Upon evaluation, Mathematica will automatically insert them. For example, type the first input on p. 4 of the book as
[Graphics:tam0298gr2.gif][Graphics:tam0298gr1.gif]
rather than
[Graphics:tam0298gr2.gif][Graphics:tam0298gr3.gif]
The latter will trigger an error message.

TIPS

ERRATA

VERSION 3.0 BUGS

Section 5.2.3.1 (p. 391 - 393)

Plotting the electric potential with 400 terms on a PowerMac 7500/100 takes about 650 seconds with Version 3.0 and only about 15 seconds with Version 2.2; generating the plot on a Gateway 2000 4DX2-66V takes about 2187 seconds with Version 3.0 and only about 36 seconds with Version 2.2. Version 3.0 is slower than Version 2.2 by a factor of over 40!

Is there a bug in Version 3.0?

No. According to Wolfram Research, "this is an unfortunate side effect of an intentional design change." (In Version 2.2, the CompiledFunction interpreter returns zero when it sees underflow; this is often wrong. The Version 3.0 CompiledFunction interpreter refuses to deal with machine underflow and reverts to uncompiled evaluation; this is correct but unfortunately a lot slower.)

February 4, 1998 

ERRORS

In Problem 4 on p. 313, replace the last sentence with "Also, the function should have three arguments: initial speed of the projectile [Graphics:tam0298gr4.gif], initial elevation of the projectile [Graphics:tam0298gr5.gif], and initial height of the target h."

TIPS

ERRATA

[Graphics:tam0298gr2.gif][Graphics:tam0298gr6.gif]
[Graphics:tam0298gr2.gif][Graphics:tam0298gr7.gif]
[Graphics:tam0298gr2.gif][Graphics:tam0298gr8.gif]
[Graphics:tam0298gr2.gif][Graphics:tam0298gr9.gif]

 

Version 4 Updates
 

Thank you for using my book.