class6 - PHYS 5900 Class 6 (9/08/2009Tu) Zi-Wei Lin *...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
PHYS 5900 Class 6 (9/08/2009Tu) Zi-Wei Lin * Homework #1 will be available under "Assignments" at Blackboard after this class. * Your homework should be returned via "Assignments" at Blackboard before next week's Wednesday class; do not use Digital Dropbox to submit; multiple files may be attached using the "Add Another File" option; click "Submit" (not "Save") to submit after all files are attached. * on Windows machines, use the IE browser to submit homework (because Firefox may cause problems). 2.2 Symbolic Calculations Transforming Algebraic Expressions Commands include Apart, Cancel, Collect, Expand, ExpandAll, ExpandDenominator, ExpandNumerator, ComplexExpand, PowerExpand, Factor, FactorTerms, Simplify, FullSimplify, Together In[1]:= ? Apart Apart @ expr D rewrites a rational expression as a sum of terms with minimal denominators. Apart @ expr , var D treats all variables other than var as constants. à In[2]:= Apart @H 5 x^2 4 x + 16 L ê HHH x^2 x + 1 L ^2 L H x 3 LL ,x D Out[2]= 1 3 + x + 3 2x I 1 x + x 2 M 2 + 2 x 1 x + x 2 In[3]:= Cancel @H y^2 5 y + 4 LêH y 1 LD Out[3]= 4 + y In[4]:= Simplify @H y^2 5 y + 4 LêH y 1 LD Out[4]= 4 + y In[5]:= myexpr = HH x + 3 L H x 1 L ^2 LêHH x^2 + 1 L H x + 5 L ^2 L Out[5]= H 1 + x L 2 H 3 + x L H 5 + x L 2 I 1 + x 2 M
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
In[6]:= Expand @ myexpr D Out[6]= 3 H 5 + x L 2 I 1 + x 2 M 5x H 5 + x L 2 I 1 + x 2 M + x 2 H 5 + x L 2 I 1 + x 2 M + x 3 H 5 + x L 2 I 1 + x 2 M In[7]:= ExpandAll @ myexpr D Out[7]= 3 25 + 10 x + 26 x 2 + 10 x 3 + x 4 5x 25 + 10 x + 26 x 2 + 10 x 3 + x 4 + x 2 25 + 10 x + 26 x 2 + 10 x 3 + x 4 + x 3 25 + 10 x + 26 x 2 + 10 x 3 + x 4 In[8]:= ExpandDenominator @ myexpr D Out[8]= H 1 + x L 2 H 3 + x L 25 + 10 x + 26 x 2 + 10 x 3 + x 4 In[9]:= ExpandNumerator @ myexpr D Out[9]= 3 5x + x 2 + x 3 H 5 + x L
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/25/2010 for the course PHYS 5900 taught by Professor Lin during the Fall '09 term at East Carolina University .

Page1 / 7

class6 - PHYS 5900 Class 6 (9/08/2009Tu) Zi-Wei Lin *...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online