I am assuming the programming language as C#

You can use Math.Pow() Function to accomplish this in C#. You can refer [this.]

You can convert the equation to result with

Copy Code

Math.Pow((x - a), 2) + Math.Pow((mx + c - b), 2) = Math.Pow(r,2);

:) But your equation seems like it should be ended with "Hence Proof"

^{\m/}4-Oct-10 1:47am