MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

substitution rules and patterns

  • Subject: [mg3410] substitution rules and patterns
  • From: rempe at euclid.chem.washington.edu (Susan Rempe)
  • Date: 4 Mar 1996 10:07:16 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: daemon at wri.com


Could someone tell me why the first substitution rule
works and the second doesn't----

In[70]:= (c^2)^(d/2)/.{(a_^2)^(b_ /2)->a^b}

Out[70]= c^d



In[71]:= (c^2)^(5/2)/.{(a_^2)^(b_ /2)->a^b}

Out[71]= (c^2)^(5/2)

Thanks in advance,

Susan Rempe
rempe at u.washington.edu



  • Prev by Date: substitution rules and patterns
  • Next by Date: Re: ContourPlot
  • Previous by thread: substitution rules and patterns
  • Next by thread: Re: substitution rules and patterns