I would like to have a program that rewrites formula's for me.
What I would like a software where I can imput some formulas, constraints, and so on,
and then the program outputs the formulas that result from them.
For example,
if I input
- $ i = \frac{1}{p} $
- $ c = \frac{i+p}{2} $
- $ d = \frac{1}{c} $
- $ r = |c-p| $
with all varables > 0, 0 < p < 1
The program can make:
- $ d = \frac{1}{\sqrt{r^2+1}} $
Does such software exist?
(free if possible)
Mathematica can express $d$ in a number of ways.
I suppose the last form is close to what you want. The dependence of the variables in the result is dictated by the order of the variables in the call to
Reduce. I usedPermutationsto generate all the possibilities. I suppose if we solve for $r$, then $d$, and then the rest, we should get something like what you want.You can also use
Eliminateand then callSolveon the result, though I don't think that this technique works easily with your inequality constraints.The
Eliminatebased approach can also be done in the open source CAS Maxima.$$\left[ d=-{{2}\over{\sqrt{r^2+4}}} , d={{2}\over{\sqrt{r^2+4}}}\right]$$
I don't know that Maxima provides anything quite like Mathematica's
Reduce, however. Perhaps, someone will correct me.