> Thanks fo reply ....> Please just answe this questin ( my clear one ) Can I use this on matlab > ode45 , dy(1)=dy(2)+d(3) ???? Or must left side contain only dy and right > side don't contain dy ??? Clear question !!! Thanks

For a system like this, use a mass matrix. See the "Mass Matrix and DAE Properties" section on this page: