MathGroup Archive 2000

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

Search the Archive

Re: How can I assign variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22590] Re: How can I assign variables
  • From: Brian Higgins <bghiggins at ucdavis.edu>
  • Date: Sun, 12 Mar 2000 22:55:33 -0500 (EST)
  • References: <8aeju5$3c4@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Mark,

You could try

sol[t_] :=
  B[t] /. DSolve[B'[t] == (10 - B[t] - t) B[t], B[t], t]

Now when you evaluate sol[t] you obtain the solution you want and is
pattern matched with the variable t.

Brian


In article <8aeju5$3c4 at smc.vnet.net>,
  mark griggs <markgriggs at sc.rr.com> wrote:
> How can I do this
>
> If I evaluate the following
>    DSolve[B'[t]==(10-B-T) B,B[t],t]   I get {{B[t]-> t(10B -B^2 -Bt)
> +C[1]}}
>
> what must I do to have the answer on the right of the -> actually
stored
> in B[t] so that I may use it in further calculations without having to
> cut and paste.
>
> regards
>
> mark G
> mathematica 4.0 Linux
> Mandrake 7.0
>
> --
> Heisenberg may have slept here
> ------------------------------
>


Sent via Deja.com http://www.deja.com/
Before you buy.


  • Prev by Date: Re: How can I assign variables
  • Next by Date: Re: How can I assign variables
  • Previous by thread: Re: How can I assign variables
  • Next by thread: Re: How can I assign variables