Thanks.
Liwen
Maeder's book IS a good choice for learning the various programming
methods in Mathematica. Another good choice (though out of print-
check used book stores) is Wagner's book " Power programming with
Mathematica. The Kernel". Ruskeepaa's book "Mathematica Navigator
has lots of examples and students find it helpful to get started
before tackling the other two books. Actually working through the
examples posted on the forum is a excellent way to improve your
skills.
For your second question use the Input function. i.e. if you evaluate
the following cell
n = Input["enter value for n"]
a dialog box will appear which will allow you to enter a value for n.
Cheers
Brian
liwen liwen <gzg...@yahoo.com> wrote in message news:<a5htk9$ht1$1...@smc.vnet.net>...
A physicist's Guide To Mathematica by Tam -- Not as programming
oriented as POWER PROGRAMMING book, but with many extensively worked
out physical examples from mechanics, E&M, Quantum physics.
Wagner, POWER PROGRAMMING WITH The MATHEMATICA KERNEL. -- Excellent
programmer's discussion of the various structures and general
philosophy of the language design including functional and rule-based
programming