I have the following system of ODE
eq1 = -s^2 ep[x] - cp''[x] + ep''[x] - θp''[x];
eq2 = A cp[x] - B cp''[x] + ep''[x] + C θp''[x];
eq3 = E cp[x] + F cp[x] + s ϵ ep[x] + G ep[x] + s θp[x] + K θp[x] - θp''[x];
A, B, C, E, F, G and K are constants. I need to eliminate both ep[x] and cp[x] from the equations so I solved eq1 and eq2 and got ep[x] and cp[x] by:
Solve[eq1 == 0, cp[x]] // Simplify
Solve[eq2 == 0, cp[x]] // Simplify
eq3 // Simplify
Then how I can eliminate cp[x] and ep[x] and their derivatives from eq3? Using the substituting /. rule will remove cp[x] and ep[x] but not their derivatives. I should obtain a 6th order differential equation of θp only.
Eas a constant, because it is used in Mathematica as the base of natural logarithms. In general, it is a good idea not to begin symbols with capital letters. Finally, I do not obtain any errors when I run your code. – bbgodfrey Dec 21 '16 at 01:26