Re: question
- To: mathgroup at smc.vnet.net
- Subject: [mg15614] Re: question
- From: Harald Giese <giese at dkrz.de>
- Date: Sat, 30 Jan 1999 04:28:19 -0500 (EST)
- Organization: Institut fuer Meereskunde, Universitaet Hamburg
- References: <78pa6k$cn1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Alice M. Dean" wrote:
> ...
> 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
Alice,
type:
sol = DSolve[{P'[t]==0.031P[t], P[0]==5.3}, P[t],t]
then:
sol /. t->100
will give you:
{{P[100]->117.64914179164}}
Regards,
Harald
--
Harald Giese
Email: giese at dkrz.de
Phone: +49 (0)40 4123 5796; Fax: +49 (0)40 5605724 Institut fuer
Meereskunde der Universitaet Hamburg (Institute of Oceanography of the
University of Hamburg) Troplowitzstrasse 7, D-22529 Hamburg