MathGroup Archive 1996

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

Search the Archive

patterns


I have a list of numbers and symbols.
How can I collect all the members of the list
which have a common denominator?

ex.  list={Sin[theta]/r, Cos[theta]/(r*s), 2*Csc[theta]/(2*r)}

 Say I want to collect all members of the list with r in the denominator;

 i.e.  answer=Sin[theta]/r;

********************************************
Susan Rempe				   *
University of Washington		   *
Department of Chemistry		           *
Box 351700				   *
Seattle, WA  98195-1700		           *
					   *
(206)685-2951				   *
rempe at u.washington.edu	                   *
********************************************


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Trig Simplifications
  • Next by Date: Re:Trig. Simplification
  • Previous by thread: Method of images in MMA
  • Next by thread: Re: patterns