HelpHow functions are driven from graphs?

  • Context: Undergrad 
  • Thread starter Thread starter gholamghar
  • Start date Start date
  • Tags Tags
    Functions Graphs
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
gholamghar
Messages
23
Reaction score
0
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
 

Attachments

  • untitled1.JPG
    untitled1.JPG
    6.4 KB · Views: 413
Last edited:
Mathematics news on Phys.org
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.
 
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 continuous Cosine digrams but with different amplitudes,is there any reference for these kind of problems?
thanks again
 
Last edited:
gholamghar said:
Hello
my question is how and with which methods Equations are derived from graphs

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