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

You are not logged in.

- Topics: Active | Unanswered

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

The Function Grapher and Calculator is ready for you guys to try out. There are probably still bugs, and I don't mind if you tell me about them.

My idea is that we can use this thing to solve or illustrate problems, so I placed a special "Link" section - you can copy-and-paste the "forum" link into your message, and it will re-create the graph you made like this: Plot of 3*x-7 vs -x-2 or this: Plot of cos(x^2)-x. Have a try and tell me what you think.

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

Offline

**ganesh****Moderator**- Registered: 2005-06-28
- Posts: 14,410

Brilliant!

I tried x Vs x^(1/x) and got a nice curve, almost parallel to the x-axis as x increases.

(1) Can't the axes have different scales?

(2) I tried x^10 Vs x and got nothing!

Character is who you are when no one is looking.

Offline

**justlookingforthemoment****Moderator**- Registered: 2005-05-26
- Posts: 2,161

I think the little box which pops out when you click calculate is cool.

When I plot x^7 or x^8 or with a higher power, the whole graph turns blue, with just the x and y axis arrows sticking out in red...

Offline

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

It seems that the values are so far out of bounds they oscillate between plus and minus, and so make lots of vertical lines. I will get it to show me the values, and sift through to see why.

Nice graph, numen. Just 4 terms makes a good approximation. But then the inbuilt sin() function is also an approximation, I suppose.

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

Offline

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

I think I have ironed that particular bug out: Torture Test

(Ganesh Q2: x and y axes will have different scales if you use the mouse to draw a rectangle around your area of interest)

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

Offline

**John E. Franklin****Member**- Registered: 2005-08-29
- Posts: 3,562

Nice! Plot of x^2.2 vs x^1.9

Love the "url" and "forum" buttons. Then I selected and used ctrl-C. Is that the only way?

or right click and choose copy?

**igloo** **myrtilles** **fourmis**

Offline

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

Ctrl-c sometimes works with flash, but the most reliable is right-click|select all, then right-click|copy

Offline

**Ninja 101****Member**- Registered: 2006-02-20
- Posts: 936

I don't understand...I don't understand...I don't understand...I don't understand...BLAM...

Chaos is found in greatest abundance wherever order is being saught. It always defeats order, because it is better organized.

Offline

**Devantè****Real Member**- Registered: 2006-07-14
- Posts: 6,400

This is fun to play around with when you're bored. Nice work.

Offline

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

An upgrade to the function grapher. It now understands "2x" as being "2 times x". Likewise it understands 2pi, 2(x+1) and even (x+1)(x+1).

See if you can confuse it (you probably can if you try hard enough). Use the "calculate" button to see how it has parsed it.

Offline

**mathsyperson****Moderator**- Registered: 2005-06-22
- Posts: 4,900

Bump.

Some people have been referring to this in Help Me topics, so I thought this topic should be revisited.

As ganesh said earlier, letting the axes have different scales would be extremely useful.

Also, in asymptotic graphs that go to -infinity from one side of a certain x-value and +infinity from the other, the grapher tries to join them with a vertical line.

I'm not sure how easy that would be to fix though.

Why did the vector cross the road?

It wanted to be normal.

Offline

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

I will look into it!

Offline

**John E. Franklin****Member**- Registered: 2005-08-29
- Posts: 3,562

I've been spending about 2 hours solid fiddling with this function grapher.

It is really great the way you can pan around.

I was examining what happens when you add two sine waves together with similar frequencies,

and comparing this to the 2sin(average)cos(halfDifference) formula, which I see how it

works on paper by the way with a drawing, but anyway, after about an hour with the

awesome grapher you made, I came across some instances when occasional lines

are not printed on the screen. I made some screen prints, in case you are interested.

It is a pretty rare occurrence and when I pan around by a few pixels, then the missing

lines show up on the screen. But overall, the grapher is beautiful and very, very nice.

Just thought I'd let you know. I took some screen shots if you ever want to see the missing lines.

**igloo** **myrtilles** **fourmis**

Offline

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

Thanks John.

Glad the bug is rare

Screenshots would be nice

Offline

**John E. Franklin****Member**- Registered: 2005-08-29
- Posts: 3,562

You can also find the missing lines with y=x^2,

if you zoom out so 10000 units is about one inch, and

then pan upward a few screens, then the left or right

side a the parabola might appear without the other side.

Here is a picture of some trig...

If you pan around by 2 or 3 pixels at a time by clicking

near the middle, then the lines will appear for some

clicks, and then disappear for a few clicks, and if you

pan back, it is always the same locations that trigger

this when you find the problem, so it isn't intermittant I guess.

**igloo** **myrtilles** **fourmis**

Offline

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

I have an updated version (0.96) now ... Function Grapher and Calculator

I have an "Equal Scales" option (so when you zoom it can keep scales the same, or let the graph "stretch" if the option is Off).

AND I have a slider for the constant "a" so you can include "a" in your function and then use the slider to alter "a"

Does it work nicely for you guys?

Offline

**mathsyperson****Moderator**- Registered: 2005-06-22
- Posts: 4,900

Nice upgrades!

The 'a' slider is a bit laggy, but it works perfectly.

I'm not sure if it's new, but I also really like the polar feature.

One thing - the plots people have been posting don't seem to work anymore.

Edit: I'd also really like boxes where you can specify the shown range exactly (eg. (-pi,-1) to (pi,1) )

Why did the vector cross the road?

It wanted to be normal.

Offline

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

mathsyperson wrote:

The 'a' slider is a bit laggy, but it works perfectly.

Yeah ... it needs time to draw the graph. I thought of part-drawing the graph, or drawing it in low-res (every 4th pixel) while you are dragging - I am not sure it would be better though ?

mathsyperson wrote:

One thing - the plots people have been posting don't seem to work anymore.

Oops ... fixed.

mathsyperson wrote:

I'd also really like boxes where you can specify the shown range exactly (eg. (-pi,-1) to (pi,1) )

Good idea

Offline

**John E. Franklin****Member**- Registered: 2005-08-29
- Posts: 3,562

MIF, here are 2 function graphers.

http://www.mathsisfun.com/data/function-grapher.php

That one says "y =" to the left of the entry box.

http://www.mathsisfun.com/data/function-grapher.php

This one does not say "y=" to the left of the entry box.

Since the older one doesn't say "y=" to the left of the

expression you enter, it might be a tiny bit confusing.

Just a thought.

**igloo** **myrtilles** **fourmis**

Offline

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

Same? Would the other one be

http://www.mathsisfun.com/data/grapher-equation.html

Offline

**John E. Franklin****Member**- Registered: 2005-08-29
- Posts: 3,562

Sorry, my forgotten cut and paste. Should be:

http://www.mathsisfun.com/data/graph.html

(This one has a black background, and no "y=")

(I guess there are 3+ equation graphers!)

**igloo** **myrtilles** **fourmis**

Offline

**KrazyKyngeKorny****Member**- Registered: 2010-06-07
- Posts: 12

MathsIsFun wrote:

The Function Grapher and Calculator is ready for you guys to try out. There are probably still bugs, and I don't mind if you tell me about them.

My idea is that we can use this thing to solve or illustrate problems, so I placed a special "Link" section - you can copy-and-paste the "forum" link into your message, and it will re-create the graph you made Have a try and tell me what you think.

I think you have a winner. Graphs are a big help in the understanding of math.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 86,366

KrazyKyngeKorny wrote:

Graphs are a big help in the understanding of math.

Yes, well said, especially in determining the number of zeroes that a polynomial has and where they are. Other types of functions even more so! With the new graphing calculators and CAS they are fun to do also. When I started they only gave us a beach full of sand to draw on and some pebbles to count with. Some of us were eaten by sharks, math was more dangerous then.

**In mathematics, you don't understand things. You just get used to them.Of course that result can be rigorously obtained, but who cares?Combinatorics is Algebra and Algebra is Combinatorics.**

Offline

**DaveRobinsonUK****Member**- Registered: 2010-04-24
- Posts: 123

Very nice, is it done in Flash?

How do you get flash to draw arbitrary curves from the built in AS graph functions?

Can feel it coming together.. Slowly but Surely

Offline