From: Mahesh Venkatesan on
Hi,
I have this complex system of equations to be solved and I am unable to do it on matlab-

Solve for m1(t), m2(t), T1(t), T2(t), where all are functions of time t

m1+m2=e7....(for all time t).................................(1)

m1*T1+m2*T2=e8...(for all time t)...........................(2)

p1=e9*m1*T1/(e1-m1)

p2=e9*m2*T2/(e1-m2)

e10*T2*(d(m1)/dt) + (p2-p1)*V2*(d(m1)/dt)/m2 = e10*(d(m1*T1)/dt).............(3)

d(m1)/dt = e2*(p2-p1)*(e3-(e4*T2/p2))*((m1*sqrt((e5-e7*m1)/p1)) + (m2*sqrt((e6-e7*m2)/p2))).....................(4)

where e1, e2, e3,....., e10 are constants ( any arbitrary value may be assumed in the code)

All I want is the code to solve the above on matlab...please don't get disheartened if the solution is absurd...

Thanks a lot.