Revision bbe2a6cb-013c-4e2c-b29f-0daaaa7a3b0c - Code Golf Stack Exchange

#Math (non-competiting)
[![][1]][1]

(idk how to do LaTeX in PPCG, so I used a LaTeX to png tool)

## Explanation

The product of multiple circle equations (`(x-a)^2+(y-b)^2-r^2`) >= 0 will make a graph which this question needs. In the equation, `n` is the size of the array, and `(x, y or r)_k` is the `k`th `(x, y, or r)` element.

## Example

`(0,0,2),(2,2,2)`

[![(Thank you WolframAlpha)][2]][2]

(Inequality plot by WolframAlpha)

# Get equation for WolframAlpha

<!-- begin snippet: js hide: true console: true babel: false -->

<!-- language: lang-html -->

 <input id="in">
 <button onclick="change()">
 Convert!
 </button>
 <script>
 function change() {
 var a = document.getElementById("in").value;
 document.getElementById("in").value = "";
 var arr = JSON.parse("[" + a + "]");
 for (var i = 0; i < arr.length / 3; i++) {
 var k = i * 3;
 document.getElementById("in").value += "((x-"
 document.getElementById("in").value += arr[k];
 document.getElementById("in").value += ")^2+(y-";
 document.getElementById("in").value += arr[k + 1];
 document.getElementById("in").value += ")^2-"
 document.getElementById("in").value += arr[k + 2];
 document.getElementById("in").value += "^2))"
 }
 document.getElementById("in").value += ">=0"
 }
 </script>

<!-- end snippet -->

 [1]: https://i.sstatic.net/IXSBG.png
 [2]: https://i.sstatic.net/Ev0ZK.gif

AltStyle によって変換されたページ (->オリジナル) /