How can I draw a 10 unit long line?

253 Views Asked by At

Last question I asked like this was a bit overkill so let's try something simpler instead.

How can I write an equation of the form <stuff with x>$=0$ that uses only $x$, such that the set of $x$ which satisfies the equation, when plotted, produces a 10 unit long line segment?

The idea of doing art with numbers interests me. Drawing a simple 1D line is part of the basics, I'd guess.

3

There are 3 best solutions below

0
On BEST ANSWER

Idea based on parabola going through $x=0$ and $x=10$ :

$x(x-10) + |x(x-10)|=0$

0
On

You could write $\min(x,0)^2+\min(10-x,0)^2=0$.

0
On

$[0 \leq x \leq 10] = 1$, where $[]$ is the Iverson bracket.