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.

272 • Chapter 7: Input and Output[1, 0.5403023059, −0.4161468365, −0.9899924966,−0.6536436209, 0.2836621855, 0.9601702867]> stats[describe,mean](%) ;0.1034788321You can also perform calculations on your matrix L using theLinearAlgebra package.> LinearAlgebra[Transpose](L) . L;[91. , 1.30278930720000119 , −6.41489848119999984][1.30278930720000119 , 3.87483111270157598 ,−0.109078174475632172][−6.41489848119999984 , −0.109078174475632172 ,3.12516888746710864]For more information regarding options for use with ImportMatrix,refer to ?ImportMatrix.Reading Commands from a FileSome Maple users find it convenient to write Maple programs in a textfile with their favorite text editor, and then import the file into Maple.You can paste the commands from the text file into your worksheet oryou can use the read command.When you read a file with the read command, Maple treats each linein the file as a command. Maple executes the commands and displays theresults in your worksheet but it does not, by default, place the commandsfrom the file in your worksheet. Use the read command with the followingsyntax.read "filename";For example, the file ks.tst contains the following Maple commands.S := n -> sum( binomial(n, beta)* ( (2*beta)!/2^beta - beta!*beta ), beta=1..n );S( 19 );

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

Saved successfully!

Ooh no, something went wrong!