MathGroup Archive 1995

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

Search the Archive

Re: Rule Writing for x and 1/x


REECE_D (REECE+_D%A1%Electromagnetic_Sciences at mcimail.com) wrote:
:    Is there a way to write a single rule in MMA which will turn J/s into W 
: and s/J into 1/W?
:    
:    {J/s->W} only works for case#1.
The simplest solution would be to make the replacement:

{J -> s W}

Works in both cases.


Sigurd Schelstraete
University of Gent
Belgium






  • Prev by Date: Defining your own Derivative
  • Next by Date: ODE solver
  • Previous by thread: Rule Writing for x and 1/x
  • Next by thread: Re: Rule Writing for x and 1/x