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

You are not logged in.

## #1 2006-06-03 22:31:08

MathsIsFun

Offline

### Function Grapher and Calculator

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

## #2 2006-06-03 23:33:54

ganesh
Moderator

Offline

### Re: Function Grapher and Calculator

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.

## #3 2006-06-04 00:21:53

numen
Full Member

Offline

### Re: Function Grapher and Calculator

My plot

Works great, nice work

I get same problem as ganesh though. I can plot x^6, but with x^7 or x^10 I see nothing.

Bang postponed. Not big enough. Reboot.

## #4 2006-06-04 08:23:15

justlookingforthemoment
Moderator

Offline

### Re: Function Grapher and Calculator

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...

## #5 2006-06-04 10:26:52

MathsIsFun

Offline

### Re: Function Grapher and Calculator

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

## #6 2006-06-04 17:03:49

MathsIsFun

Offline

### Re: Function Grapher and Calculator

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

## #7 2006-06-07 15:12:14

John E. Franklin
Star Member

Offline

### Re: Function Grapher and Calculator

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?

Imagine for a moment that even an earthworm may possess a love of self and a love of others.

## #8 2006-06-07 17:03:49

MathsIsFun

Offline

### Re: Function Grapher and Calculator

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

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

## #9 2006-06-09 21:02:36

Ninja 101
Power Member

Offline

### Re: Function Grapher and Calculator

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.

## #10 2006-07-24 06:14:51

Devantè
Real Member

Offline

### Re: Function Grapher and Calculator

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

## #11 2006-07-31 19:34:56

MathsIsFun

Offline

### Re: Function Grapher and Calculator

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.

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

## #12 2007-12-18 04:12:20

mathsyperson
Moderator

Offline

### Re: Function Grapher and Calculator

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.

## #13 2007-12-18 07:18:36

MathsIsFun

Offline

### Re: Function Grapher and Calculator

I will look into it!

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

## #14 2008-07-31 11:40:13

John E. Franklin
Star Member

Offline

### Re: Function Grapher and Calculator

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.

Imagine for a moment that even an earthworm may possess a love of self and a love of others.

## #15 2008-07-31 12:00:13

MathsIsFun

Offline

### Re: Function Grapher and Calculator

Thanks John.

Screenshots would be nice

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

## #16 2008-07-31 13:06:17

John E. Franklin
Star Member

Offline

### Re: Function Grapher and Calculator

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.

Imagine for a moment that even an earthworm may possess a love of self and a love of others.

## #17 2009-03-02 09:00:57

MathsIsFun

Offline

### Re: Function Grapher and Calculator

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?

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

## #18 2009-03-02 10:03:03

mathsyperson
Moderator

Offline

### Re: Function Grapher and Calculator

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.

## #19 2009-03-02 10:44:01

MathsIsFun

Offline

### Re: Function Grapher and Calculator

#### 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

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

## #20 2010-01-27 04:40:35

John E. Franklin
Star Member

Offline

### Re: Function Grapher and Calculator

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.

Imagine for a moment that even an earthworm may possess a love of self and a love of others.

## #21 2010-01-27 07:19:01

MathsIsFun

Offline

### Re: Function Grapher and Calculator

Same? Would the other one be

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

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

## #22 2010-01-27 08:57:07

John E. Franklin
Star Member

Offline

### Re: Function Grapher and Calculator

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!)

Imagine for a moment that even an earthworm may possess a love of self and a love of others.

## #23 2010-06-08 03:46:51

KrazyKyngeKorny
Member

Offline

### Re: Function Grapher and Calculator

#### 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.

## #24 2010-06-08 07:45:41

bobbym

Online

### Re: Function Grapher and Calculator

#### 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.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #25 2010-06-15 20:50:34

DaveRobinsonUK
Full Member

Offline

### Re: Function Grapher and Calculator

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