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.

154 • Chapter 5: Evaluation and SimplificationCombining TermsThe combine command applies a number of transformation rules for variousmathematical functions.> combine( sin(x)^2 + cos(x)^2 );1> combine( sin(x)*cos(x) );1sin(2 x)2> combine( exp(x)^2 * exp(y) );(2 x+y)e> combine( (x^a)^2 );(2 a)xTo see how combine arrives at the result, give infolevel[combine]a positive value.> infolevel[combine] := 1;infolevel combine := 1> expr := Int(1, x) + Int(x^2, x);∫ ∫expr := 1 dx +x 2 dx> combine( expr );combine: combining with respect to Intcombine: combining with respect to linearcombine: combining with respect to intcombine: combining with respect to linearcombine: combining with respect to Intcombine: combining with respect to linearcombine: combining with respect to intcombine: combining with respect to linearcombine: combining with respect to Intcombine: combining with respect to linear

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

Saved successfully!

Ooh no, something went wrong!