I have these three equations:
1/X + 1/Y == 1/15;
1/Y + 1/Z == 1/20;
1/Z + 1/X == 1/25;
I want to calculate the value of expression:
1/X + 1/Y + 1/Z
Here is what I tried:
FullSimplify[1/X + 1/Y + 1/Z]
which only returns1/X + 1/Y + 1/Z
.Evaluate[1/X + 1/Y + 1/Z]
which also gives1/X + 1/Y + 1/Z
.
Is there any way to calculate the value of this expression and other such expressions in Mathematica.
I could do this by hand by simply adding all these equations and then dividing by 2.
2*(1/X + 1/Y + 1/Z) == 1/15 + 1/20 + 1/25;
However, how can I use Mathematica to calculate the value for me using just the first three eqautions?