[sage-support] Re: Can't solve equation with square roots...

2010-04-07 Thread Danread5
Hi all, Thanks so much for your help- and so quickly too! I realise it is a very straight forward problem- I am very new to Sage, and am working through some basic school-level problems to get used to the functions before I start using it for my work. Thank you once more! Dan -- To post to th

[sage-support] Can't solve equation with square roots...

2010-04-06 Thread Danread5
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)/