Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7257 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2011-12-16 10:54 +0000 |
| Last post | 2011-12-22 09:32 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: how to replace with definition Bob Hanlon <hanlonr357@gmail.com> - 2011-12-16 10:54 +0000
Re: how to replace with definition r_poetic <radford.schantz@mms.gov> - 2011-12-22 09:32 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2011-12-16 10:54 +0000 |
| Subject | Re: how to replace with definition |
| Message-ID | <jcf813$6qk$1@smc.vnet.net> |
k[t] = A[t]/L[t];
L'[t] = lambda L[t]; A'[t] = s k[t]^alpha;
D[k[t], t] /. A[t] -> HoldForm[k[t]]*L[t]
% // ReleaseHold
Bob Hanlon
On Thu, Dec 15, 2011 at 4:53 AM, r_poetic <radford.schantz@mms.gov> wrote:
> Hello,
> I can't seem to manage this replacement:
>
> k[t] = A[t]/L[t];
>
> L'[t] = lambda L[t]; A'[t] = s k[t]^alpha;
>
> D[k[t],t]
>
> output= lambda A[t] + s (A[t]/L[t]) ^ alpha
> ----------------- --------------------=
---------
> L[t] =
L[t]
>
> How can the ratio A[t]/L[t] be replaced with k[t] here? I have tried
> a number of possibilities using /. or Replace.
>
[toc] | [next] | [standalone]
| From | r_poetic <radford.schantz@mms.gov> |
|---|---|
| Date | 2011-12-22 09:32 +0000 |
| Message-ID | <jcutfb$dkv$1@smc.vnet.net> |
| In reply to | #7257 |
On Dec 16, 5:54 am, Bob Hanlon <hanlonr...@gmail.com> wrote: > k[t] = A[t]/L[t]; > > L'[t] = lambda L[t]; A'[t] = s k[t]^alpha; > > D[k[t], t] /. A[t] -> HoldForm[k[t]]*L[t] > > % // ReleaseHold > > Bob Hanlon > > > > > > On Thu, Dec 15, 2011 at 4:53 AM,r_poetic<radford.scha...@mms.gov> wrote: > > Hello, > > I can't seem to manage this replacement: > > > k[t] = A[t]/L[t]; > > > L'[t] = lambda L[t]; A'[t] = s k[t]^alpha; > > > D[k[t],t] > > > output= lambda A[t] + s (A[t]/L[t]) ^ alpha > > ----------------- ------------------= --= > --------- > > L[t] = = > L[t] > > > How can the ratio A[t]/L[t] be replaced with k[t] here? I have tried > > a number of possibilities using /. or Replace.- Hide quoted text - > > - Show quoted text - Thanks to all! Hold-ing works great. RS
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web