RE: Problem with ->
- To: mathgroup@smc.vnet.net
- Subject: [mg11415] RE: [mg11379] Problem with ->
- From: jmt <jmthomas@cybercable.tm.fr>
- Date: Thu, 12 Mar 1998 01:32:20 -0500
- Organization: TeA
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/