Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Cool 2-D functions for graphing

  1. Oct 25, 2006 #1
    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)

    Thanks in advance
     
  2. jcsd
  3. Oct 25, 2006 #2

    radou

    User Avatar
    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)
     
  4. Oct 25, 2006 #3

    arildno

    User Avatar
    Science Advisor
    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! :smile:
     
  5. Oct 25, 2006 #4
    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)
     
  6. Oct 25, 2006 #5

    radou

    User Avatar
    Homework Helper

    Should work. It is defined on <-infty, 0.2>
     
  7. Oct 25, 2006 #6
  8. Oct 25, 2006 #7
    Is this a function or constant ?
    LOL
     
  9. Oct 25, 2006 #8

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    It's a function. To each value of x, there is assigned only a single function value.
     
  10. Oct 25, 2006 #9

    radou

    User Avatar
    Homework Helper

  11. Oct 25, 2006 #10

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

  12. Oct 25, 2006 #11
  13. Oct 25, 2006 #12

    radou

    User Avatar
    Homework Helper

    May be true. But your function didn't get a wow. :tongue2: :biggrin: :approve:
     
  14. Oct 25, 2006 #13

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    Mere newbie lack of taste. He'll get a more refined and cultured taste as he plunges deeper into the mysteries of maths.
     
  15. Oct 25, 2006 #14

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

  16. Oct 26, 2006 #15
    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
     
  17. Oct 27, 2006 #16
    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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Cool 2-D functions for graphing
  1. Cool graphs (Replies: 3)

  2. Function of the graph. (Replies: 2)

Loading...