constraint
- To: mathgroup at smc.vnet.net
 - Subject: [mg32741] constraint
 - From: sahni mayank <sahnimayank at yahoo.com>
 - Date: Thu, 7 Feb 2002 05:12:24 -0500 (EST)
 - Sender: owner-wri-mathgroup at wolfram.com
 
i'm having problems with inserting an algebraic
constraint into a series of differential equations and
solving with NDSolve.
for example
sol1 = NDSolve[{
      y1'[t] == 0.5*k2 + k4*y2[t]*y3[t] -
k10*y1[t]*y4[t],
	y2'[t] == 
        k1 + k3 + k5*y1[t]*y1[t] - k4*y2[t]*y3[t], 
y3'[t] == 
      k9*y3[t]*y1[t] - k4*y2[t]*y3[t] -
k8*y1[t]*y3[t],
and instead of using a differential eq for y4[t] i
want to use an algebraic equation for example
y4[t]=k12-y1[t]-y2[t],
is it possible to solve this using NDSolve?
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
- Follow-Ups:
- Re: constraint
- From: Daniel Lichtblau <danl@wolfram.com>
 
 
 - Re: constraint