12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.5 Basic Types of Maple Objects • 19f := x → x 2Then, evaluating f at an argument produces the square of f’s argument.> f(5);25> f(y+1);(y + 1) 2Not all names are available for variables. Maple has some predefinedand reserved names. If you try to assign to a name that is predefinedor reserved, Maple displays a message, informing you that the name youhave chosen is protected.> Pi := 3.14;Error, attempting to assign to ‘Pi‘ which is protected> set := {1, 2, 3};Error, attempting to assign to ‘set‘ which is protected2.5 Basic Types of Maple ObjectsThis section examines basic types of Maple objects, including expressionsequences, lists, sets, arrays, tables, and strings. These simple ideas areessential to the discussion in the rest of this book.Expression SequencesThe basic Maple data structure is the expression sequence. This is simplya group of Maple expressions separated by commas.> 1, 2, 3, 4;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!