2017-09-05 78 views
0

我有表達的圓:數學重寫圓方程

的x^2 + Y^2 + 10X-14Y-7 = 0

我需要找到半徑和座標到中心使用Wolfram Mathematica的圓圈;在Symbolab它告訴我重寫表達式的標準日食方程的形式。

我知道答案應該是C =(X + 5)^ 2 +(Y-7)^ 2 = 81,所以半徑的sqrt(81)= 9 ...

是如何這在Mathematica中可以實現(我對此很新...)?

感謝和問候( - :

+0

相關鏈接:https://mathematica.stackexchange.com/questions/20051/how-do-i-get-my-equation-to-have-the-form-x-a2-y-b2-z -c2-d-0/20159 – mathe

回答

2

例如,

SolveAlways[{x^2 + y^2 + 10 x - 14 y - 7 == (x - a)^2 + (y - b)^2 - r^2}, {x, y}] 
+0

你是米上帝,謝謝! – Androvich

0
Solve[{ 
CoefficientList[x^2 + y^2 + 10 x - 14 y - 7, {x, y}] 
    == 
    CoefficientList[(x - xc)^2 + (y - yc)^2 - r^2, {x, y} ],r>0} 
, {xc, yc, r}] 

{{XC - > -5,YC - > 7,R - > 9}}