# Cool 2-D functions for graphing (1 Viewer)

### Users Who Are Viewing This Thread (Users: 0, Guests: 1)

#### LPHY

I am collecting nice 2-d functions to demonstrate graphing tool, if any one have great functions which will look great on 2-d plotting, please let me know.

Here are few equations I am using now. if you guys need I can provide a link to plot each of these graphs. The plotting program I am using allow to use up to 3 different function same time.

(1) sin(pi*x/5)-tan(x*2)
(2) min(sin(pi*x-2),0.452)
(3) F1::cos(pi*x) / (-ln(2)*x), F2::sqrt(9-x^2), F3::-sqrt(9-x^2)
(4) F1::x*sin(10*x), F2::x, F3::-x
(5) F1::ln(x)*cos(15*x), F2::ln(x), F3::-ln(x)
(6) sin(954*x)-2*cos(x)

Homework Helper
This one looks nice:

f(x) = ((x-0.2)sin(1/(x-0.2)) + x +0.8)(10(x-0.1)^2+0.9)

#### arildno

Homework Helper
Gold Member
Dearly Missed
I really like this one:
f(x)=0

It is one of the most important functions you'll ever meet! #### LPHY

This one looks nice:

f(x) = ((x-0.2)sin(1/(x-0.2)) + x +0.8)(10(x-0.1)^2+0.9)
I tried to plot this function, but I am getting an error (syntax error)
((x-0.2)*sin(1/(x-0.2))+x+0.8)*(10*(x-0.1)^2+0.9)

Homework Helper
LPHY said:
I tried to plot this function, but I am getting an error (syntax error)
((x-0.2)*sin(1/(x-0.2))+x+0.8)*(10*(x-0.1)^2+0.9)
Should work. It is defined on <-infty, 0.2>

#### LPHY

arildno said:
I really like this one:
f(x)=0
Is this a function or constant ?
LOL

#### arildno

Homework Helper
Gold Member
Dearly Missed
It's a function. To each value of x, there is assigned only a single function value.

Homework Helper
Last edited by a moderator:

#### arildno

Homework Helper
Gold Member
Dearly Missed
This is more like it: http://www.livephysics.com/ptools/online-function-grapher.php?ymin=-1&xmin=-0.1&ymax=1&xmax=0.2&f1=((x-0.2)*sin(1/(x-0.2))+x+0.8)*(10*(x-0.1)^2+0.9)&f2=&f3=". Just another wavy thing. Can' compete against the stark elegance and cool sobriety of MY function. Last edited by a moderator:

#### LPHY

Last edited by a moderator:

Homework Helper
arildno said:
Just another wavy thing. Can' compete against the stark elegance and cool sobriety of MY function. May be true. But your function didn't get a wow. :tongue2:  #### arildno

Homework Helper
Gold Member
Dearly Missed
May be true. But your function didn't get a wow. :tongue2:  Mere newbie lack of taste. He'll get a more refined and cultured taste as he plunges deeper into the mysteries of maths.

#### robphy

##### timelike observer
Homework Helper
Gold Member

Last edited by a moderator:

#### LPHY

robphy said:
can it do an exponential function?
It can do all these functions

sin(), cos(), tan(), asin(), acos(), atan()
ln() - standard natural logarithmic
e - natual base
sqrt() - square root
abs() - absolute value
max() - maximum of two numbers
min() - minimum of two numbers
floor() - revious nearest integer
ceil() - next nearest integer
round() - nearest integer

#### LPHY

Just a heads up guys, I am working on a online function evaluation tool, Which will automatically generate data table for given function for given boundaries. Will let you know once this is ready.

Also here is the new thread I created for new 3D function graphing tool

### The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving