MathGroup Archive 1995

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

Search the Archive

Re: Rule Writing for x and 1/x

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg812] Re: Rule Writing for x and 1/x
  • From: Sigurd.Schelstraete at rug.ac.be (Sigurd Schelstraete)
  • Date: Mon, 24 Apr 1995 01:07:05 -0400
  • Organization: University of Ghent, Belgium

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