11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

6.3 Structural Manipulations • 201The cat command concatenates all its arguments to create a newstring.> ttl := cat( convert( f, string ),> " and its Taylor approximation ",> p_txt );ttl := “sin(x) and its Taylor approximation x-1/6*x^\3+1/120*x^5”> plot( [f, p], x=-4..4, title=ttl );sin(x) and its Taylor approximation x–1/6*x^3+1/120*x^51.510.5–4 –3 –2 –1 0–0.51 2x3 4–1–1.5You can also convert a list to a set or a set to a list.> L := [1,2,5,2,1];L := [1, 2, 5, 2, 1]> S := convert( L, set );S := {1, 2, 5}> convert( S, list );[1, 2, 5]The convert command can perform many other structural and mathematicalconversions. For more information, refer to the ?convert helppage.

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

Saved successfully!

Ooh no, something went wrong!