Re: question
- To: mathgroup at smc.vnet.net
- Subject: [mg15658] Re: question
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 30 Jan 1999 04:28:52 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <78pa6k$cn1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Alice,
say You assign
psol=DSolve[{P'[t]==0.031P[t], P[0]==5.3}, P[t],t]; pt=P[t] /. sol;
you can obtain
P[10] by
pt /. t->10
ans so on
Hope that helps
Jens
"Alice M. Dean" wrote:
>
> Hi, I was given this address by a colleague, who said you could quickly
> answer what I think is a very simple question. After I evaluate the
> following in mathematica,
>
> DSolve[{P'[t]==0.031P[t], P[0]==5.3}, P[t],t]
>
> I get a result which is essentially: {{P[t] -> 5.3 E ^(0.031t)}}
>
> inside two sets of curly brackets.
>
> I would now like to compute P[10], P[100], etc. Is there a reasonable
> way to do this? Thanks, Alice Dean
>