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

Help!How functions are driven from graphs?

  1. Jul 19, 2009 #1
    Hello
    my question is how and with which methods Equations are derived from graphs,for example the graph below is for specific energy in open channel flows,and the equation to it is :
    E=y+(q^2)/2*g*y^2

    how this equation has been obtained from the graph?
    if in Excel you add a trendline to this figure and then you find the equation with Excel,the best it gives you is this:y = -0.0453*E^2 + 1.6595*E - 2.3539
    and this is totally different with the above equation,
    so how do they obtain equations from the graphs?
    thanks
     

    Attached Files:

    Last edited: Jul 19, 2009
  2. jcsd
  3. Jul 19, 2009 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    First, the word is "derived", not "driven" or "drove"- that's a whole different thing!

    Second, the graph you show can't possibly be of the form "E=y+(q^2)/2*g*y^2". That gives a parabola with horizontal axis and this doesn't have a horizontal axis. Also if those two lines are asymptotes, the graph is not a parabola, although it can be a hyperbola. Assuming that the graph is a hyperbola with asymptotes y= x and y= 0, and center at (0,0), then we can rotate the graph clockwise by [itex]\pi/8[/itex] radians so that the axes are the E-axis and the y-axis. Now the asymptotes are [itex]y= tan(\pi/8)E)[/itex] and y= -tan(\pi/8)E)[/itex] and the equation is
    [tex]tan^2(\pi/8)E^2- y^2= A[/tex]
    for some positive number A. You can determine A by the requirement that Emin, yc satisfy that equation.
     
  4. Jul 19, 2009 #3
    thank you for reply,i think you have read the equation i wrote in a wrong way,now i rewrite it:
    E=(y)+(q^2)/(2*g*(y^2))
    g=9.8 m/s^2
    q=constant
    y=height
    E=energy
    so it is not a parabola.
    but is there any reference book that has different graphs and their equations?
    i have a post here:
    https://www.physicsforums.com/showthread.php?t=325862

    i need to find the equation for the graph in that post,the graph is like two continous Cosine digrams but with different amplitudes,is there any reference for these kind of problems?
    thanks again
     
    Last edited: Jul 19, 2009
  5. Jul 19, 2009 #4

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    You are right- I did not see that the "[itex]y^2[/itex]" is in the denominator.
     
  6. Jul 19, 2009 #5

    Mentallic

    User Avatar
    Homework Helper

    Since this graph isn't pretty conventional and nothing too absurd, you need to look at its features and simply use logic to solve them.
    Since the graph has asymptotes of y=x and y=0, this means that as [tex]y \rightarrow \infty[/tex] then [tex]x \rightarrow y,0[/tex]

    Such an equation that will accomplish this task is:

    [tex]x=y+\frac{1}{y}[/tex]

    notice how in the RHS, the fraction is what changes the entire structure of the graph. As [tex]y \rightarrow \infty[/tex] then [tex]\frac{1}{y} \rightarrow 0[/tex] so the graph tends towards y=x but as [tex]y\rightarrow 0[/tex] then [tex]\frac{1}{y} \rightarrow \infty[/tex] so now the graph tends towards y=0

    but we need a general equation for this, and basically that would be:

    [tex]ax=ay+\frac{b}{y^k}[/tex] for some constants a,b,k

    for your graph, it is already given that a=1, [tex]b=\frac{q^2}{2g}[/tex] and k=2
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Help!How functions are driven from graphs?
  1. Function of the graph. (Replies: 2)

  2. Help on graph (Replies: 7)

Loading...