I just started learning Mathematica since I needed for my current research. I'm trying to solve a set of equations with different variables, eliminate a few variables in the set, and express one variable by others in just one equation. But Mathematica won't give me that answer~ Actually to make the question clearer, here is my code:
hump[EM_, x_, y_, z_, Pa_, Pb_, miu_] :=
1/(2 EM (y^3 - x^3) z^2) (2 (Pa x^3 - Pb y^3) (1 - 2 miu) z^3 + (Pa -
Pb) (1 + miu) x^3 y^3)
u0d = hump[E0, c, d, d, P1, P0, miu0]
u0c = hump[E0, c, d, c, P1, P0, miu0]
u1c = hump[E1, b, c, c, P2, P1, miu1]
u1b = hump[E1, b, c, b, P2, P1, miu1]
u2b = hump[E2, a, b, b, P3, P2, miu2]
u2a = hump[E2, a, b, a, P3, P2, miu2]
u3a = hump[E3, a, 0, a, P3, 0, miu3]
ud = hump[E0, d, 0, d, P0, 0, miu0]
eqn = {ud == u0d, u0c == u1c, u1b == u2b, u2a == u3a}
Solve[eqn, {E0}, {P0, P1, P2, P3}]
As you see, I'm eliminating P0, P1, P2, P3 in the equation set and wanna have an expression for E0.
It took me more than two weeks trying to figure it out however failed, and nobody that I know had ever used Mathematica... So can anybody help me with it? Thanks~
GroebnerBasis[]
as a preprocessor, before feeding the entire mess toSolve[]
. $\endgroup$For example
$\endgroup$