Hi all,

My first post...

I seem to be having trouble with solving for x in the following:

sage: d = sqrt(x^2 + 5^2)
sage: D = sqrt((20-x)^2 + 10^2)
sage: T = d + D; T
sqrt(x^2 + 25) + sqrt((x - 20)^2 + 100)
sage: diff(T, x)
(x - 20)/sqrt((x - 20)^2 + 100) + x/sqrt(x^2 + 25)
sage: solve((x - 20)/sqrt((x - 20)^2 + 100) + x/sqrt(x^2 + 25) == 0,
x)
[x == 20*sqrt(x^2 + 25)/(sqrt(x^2 + 25) + sqrt(x^2 - 40*x + 500))]

For some reason, Sage isn't solving completely for x, or isn't
'seeing' the x^2...

Any help gladly appreciated!

Dan

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to