Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Hi,

The MathsIsFun Equation Grapher gives wrong graph for

(abs(x-1) + abs(y) - 1) * (abs(x) + abs(y-1) - 1) = 0.

*Last edited by benice (2011-08-10 16:17:48)*

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Hi benice;

Mathematica agrees with you. I remember trying to write my own contour plotter. In two different languages! I do not think I ever really succeeded.

I tried to do it by solving for the points. That is difficult enough when you are standing over the computer and watching every move. In a plotter the program has to do it all by itself. Sometimes they are going to miss some and sometimes they will add a few.

By the way that is a clever way to draw two squares.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,657

Hi benice,

Thanks for that, I will look into it.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Hi benice;

Graph, gnuplot and Scilab

That is some good software there. I do not feel so bad now. I am not sure about his explanation of no sign changes.

y - x^2 = 0 has no sign changes either but graphs properly here. Or maybe you do not notice it because only (0,0) is left out!

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,657

Yes, sign changing abruptly back and forth is hard to detect. This will be an interesting test case for me.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline