Chapter 4. Variables, matrices, and lists

 

This chapter covers

  • Defining and using scalar (real), vector (list), and matrix variables
  • Performing computations on one-dimensional (1D) lists of numbers
  • Working with two-dimensional (2D) matrices of numbers

In chapter 1, you saw how to solve the Quadratic Formula when you’re given values for a, b, and c. In that example, which took up the whole of section 1.1.2, you saw how numbers could be temporarily stored in variables A, B, and C on your calculator. In chapter 2, you saw another special variable called Ans. In each case, those variables were containers where numbers could be stored and later used. In fact, a variable on your calculator is almost exactly like a variable in algebra class.

4.1. What are variables? Why do I need them?

 
 

4.2. Using sequences of numbers: lists

 
 

4.3. List operations and functions

 

4.4. Exploring 2D matrices

 
 
 

4.5. Matrix operations and functions

 
 
 
 

4.6. Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest