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.

182 • Chapter 5: Evaluation and Simplification> op( [a,b,c] );a, b, c> op( {d,e,f} );e, d, fThis section (page 169) describes how the map command applies afunction to all the elements of a list or set. The functionality of mapextends to general expressions.> map( f, x^2 );f(x) f(2)The select and remove commands, described in this section (pages 172–173) also work on general expressions.> large := z -> evalb( is(z>3) = true );large := z → evalb(is(3 < z) = true)> remove( large, 5+8*sin(x) - exp(9) );8 sin(x) − e 9Maple has a number of commands that can be used as the booleanfunction in a call to select or remove. The has command determineswhether an expression contains a certain subexpression.> has( x*exp(cos(t^2)), t^2 );true> has( x*exp(cos(t^2)), cos );trueSome of the solutions to the following set of equations containRootOfs.

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

Saved successfully!

Ooh no, something went wrong!