# Thread Subject: HOw to solve these type of equations

 Subject: HOw to solve these type of equations From: Dinesh Date: 4 Aug, 2012 11:47:13 Message: 1 of 7 Hi I have a three deferential equations as y1' = ....... y2'=..... 0=..... + X(t) in the third equation i dont have y3' term and more over I have the extra term which varies with time . I know how to solve these if there is y3' and no X(t) by using ODE 23 , but how to do this ? Thank You
 Subject: HOw to solve these type of equations From: steve nospam Date: 4 Aug, 2012 12:24:15 Message: 2 of 7 On Aug 4, 6:47am, "Dinesh " wrote: > Hi > > I have a three deferential equations as > > y1' = ....... > y2'=..... > 0=..... + X(t) in the third equation i dont have y3' term and more over I have the extra term which varies with time . I know how to solve these if there is y3' and no X(t) by using ODE 23 , but how to do this ? > > Thank You if no y3' then it not differential equation but algebra like in school. just move the known to the left and unknown to the right to solve and for the first 2 differentials use the matlab od54 functions but need initial conditions
 Subject: HOw to solve these type of equations From: Dinesh Date: 5 Aug, 2012 01:38:17 Message: 3 of 7 > if no y3' then it not differential equation but algebra like in > school. just move the known to the left and unknown to the right to > solve and for the first 2 differentials use the matlab od54 functions > but need initial conditions Thank you for the reply the three equations are functions of y1,y2,y3 and i know the values before time 0- my original equations are C1*y1' = F*C2*y2 - C3*y1 y2' = C4 -B* C5*y3 - C6*y1 y2-C7=x(t)*y3 X(t) is a known function where F = 0 when y3y1 B=0 when C7y3 so what I am thinking is at time t1 i will get the values for F and B depending on previous values and X value will be known and I need the solution for the unknowns at time t1. I tried solving this by newton raphshon method but the solution is not converging. Thanks a lot
 Subject: HOw to solve these type of equations From: Bruno Luong Date: 5 Aug, 2012 08:13:13 Message: 4 of 7 "Dinesh " wrote in message ... > > > if no y3' then it not differential equation but algebra like in > > school. just move the known to the left and unknown to the right to > > solve and for the first 2 differentials use the matlab od54 functions > > but need initial conditions > > Thank you for the reply > the three equations are functions of y1,y2,y3 and i know the values before time 0- > > my original equations are C1*y1' = F*C2*y2 - C3*y1 > y2' = C4 -B* C5*y3 - C6*y1 > y2-C7=x(t)*y3 > From the last equation y3 can be expressed as y2. Your equations is an ODE, that can be solved with ode solvers. Bruno
 Subject: HOw to solve these type of equations From: Dinesh Date: 5 Aug, 2012 11:04:15 Message: 5 of 7 will there be any problem due to functions 'F' and 'B'. which ODE function should I use for this ? "Bruno Luong" wrote in message ... > "Dinesh " wrote in message ... > > > > > if no y3' then it not differential equation but algebra like in > > > school. just move the known to the left and unknown to the right to > > > solve and for the first 2 differentials use the matlab od54 functions > > > but need initial conditions > > > > Thank you for the reply > > the three equations are functions of y1,y2,y3 and i know the values before time 0- > > > > my original equations are C1*y1' = F*C2*y2 - C3*y1 > > y2' = C4 -B* C5*y3 - C6*y1 > > y2-C7=x(t)*y3 > > > > From the last equation y3 can be expressed as y2. Your equations is an ODE, that can be solved with ode solvers. > > Bruno
 Subject: HOw to solve these type of equations From: Bruno Luong Date: 6 Aug, 2012 09:44:13 Message: 6 of 7 "Dinesh " wrote in message ... > will there be any problem due to functions 'F' and 'B'. Could be, ODEs with non-Lipschitz RHS are nasty. > which ODE function should I use for this ? I don't know. Make sure your equation makes sense mathematically and well-posed first. Bruno
 Subject: HOw to solve these type of equations From: David Epstein Date: 6 Aug, 2012 22:58:39 Message: 7 of 7 "Dinesh " wrote in message ... ... > my original equations are C1*y1' = F*C2*y2 - C3*y1 > y2' = C4 -B* C5*y3 - C6*y1 > y2-C7=x(t)*y3 > > X(t) is a known function > where F = 0 when y3 1 when y3>y1 > B=0 when C7 1 when C7>y3 Is C7 a constant? A known constant? Or are you trying to solve the equations with C1,...,C7 as parameters? Here is what I think: maybe what I say is all wrong if I am misunderstanding your question. You can solve for y3 in terms of y2, provided x(t) is not zero. If it is zero, then y2=C7, so let's cut 3-dimensional space (y1,y2,y3) into two pieces along y2=C7. Similarly cut along y3=C7 and along y1=y3. Is it possible to solve separately in each of the 8 pieces of 3-space thus obtained? For specific values of C1,...,C7, it may be possible to cleanly specify initial values along certain parts of the boundary of a piece and obtain solutions. Where two pieces intersect, the values of the solutions must coincide.

Separated by commas
Ex.: root locus, bode

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.