This book is very different from introductory books about conventional languages. For one thing, the entire first part is about built-in operations on Mathematica data types; by contrast, conventional languages provide fewer and less powerful built-in data types and operations. More significantly, our treatment of programming has centered on the use of functional programming, rewrite rules, and recursion. This is typical of Mathematica programming, but not of programming in conventional languages. Rather, in those languages it is far more common to use iteration. In this technique, the values of variables, and the contents of arrays, are repeatedly modified until they have the correct values. The method can be used in Mathematica, and can sometimes be very useful. This chapter is about how to use iteration in Mathematica.
KeywordsGaussian Elimination Bisection Method Mathematica Programming Conventional Language Component Assignment
Unable to display preview. Download preview PDF.