MathGroup Archive 1998

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

Search the Archive

RE: Problem with ->



The rule R[s]-> ks only apply to R[s] and not R'[s]

r=R[s]->k s
rp=R'[s]->D[R[s]/.r,s]
R[s]/R'[s]/.{r,rp}

Hope this helps,


----------------------------------------------- Jean-Marie THOMAS
Conseil et Audit en Ingenierie de Calcul www.cybercable.tm.fr/~jmthomas
------------------------------------------------


-----Message d'origine-----
De:	Hans Steffani [SMTP:hans.steffani@e-technik.tu-chemnitz.de]
Date:	lundi 9 mars 1998 02:13
A:	mathgroup@smc.vnet.net
Objet:	[mg11379] Problem with ->


I want to substitute R[s] by k s.
I tried:
R[s] / R'[s] /. R[s] -> k s
and got
k s / R'[s]
instead of the expected
s

What am I doing wrong?

Hans Friedrich Steffani
--
Hans Friedrich Steffani
Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz
mailto:hans.steffani@e-technik.tu-chemnitz.de
http://www.tu-chemnitz.de/~hfst/




  • Prev by Date: Re: [Q] how to use simple notation to combine many graphics
  • Next by Date: Re: Problem with ->
  • Prev by thread: Re: Problem with ->
  • Next by thread: Re: Problem with ->