Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

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

Search the Archive

Re: Rule Writing for x and 1/x

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

REECE_D (REECE+_D%A1%Electromagnetic_Sciences at 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

  • 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