On 01/20/12 20:43, Thomas Dean wrote:
> eq2 := op(1, deq) = op(2, deq);
> solve(eq2,x,AllSolutions);
eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6);
2
2 x - 5 x + 2
eqn := --------------
2
5 x - 7 x - 6
deq:=diff(eqn,x);
2
4 x - 5 (2 x - 5 x + 2) (10 x - 7)
deq := -------------- - ---------------------------
2 2 2
5 x - 7 x - 6 (5 x - 7 x - 6)
solve(deq=0,x);
eq2 := op(1, deq) = op(2, deq);
2
4 x - 5 (2 x - 5 x + 2) (10 x - 7)
eq2 := -------------- = - ---------------------------
2 2 2
5 x - 7 x - 6 (5 x - 7 x - 6)
solve(eq2,x,AllSolutions);
1/2 1/2
37 2649 37 2649
-- - -------, -- + -------
80 80 80 80
evalf(%);
-0.1808554616, 1.105855462