How can I work out the equation for this graph?

  • Thread starter Spanky Deluxe
  • Start date
  • Tags
    Graph Work
In summary, the conversation is about trying to find an equation and gradient for a graph in order to create a toy model. The person has been using Grapher and Excel, but is in need of a more advanced math software like Maple. They discuss using Excel's trend lines and report button to get the graph approved. They also share different equations they have tried, including y=exp((x/5.5)^4) and y = 5.5 ln(8/(8-x)). In the end, they decide to use y=ln(8/(8-x)) as it seems to be the best fit for the graph.
  • #1
Spanky Deluxe
19
0
I need to work out an equation (and also the gradient) of the attached graph for use in a toy model. Alas I don't have stuff like Mathematica here and I don't normally do this kind of thing so I've just been stuck to using Grapher to chuck random equations in and Excel to try to plot points for it to generate an equation.

I don't need anything exact, just something that looks roughly the same but I can't recognise any functions that could create something like this.

Any ideas?
 

Attachments

  • Screen shot 2010-09-01 at 02.12.16.png
    Screen shot 2010-09-01 at 02.12.16.png
    8.1 KB · Views: 510
Mathematics news on Phys.org
  • #2
I can't see that picture until it is approved, but you could try Excel's trend lines for graphs and see if you can get the best fit using that. It will then give you the best fit equation.
 
  • #3
rock.freak667 said:
I can't see that picture until it is approved, but you could try Excel's trend lines for graphs and see if you can get the best fit using that. It will then give you the best fit equation.

Ah, didn't realize it takes a while to be approved. That's exactly what I tried but it didn't work alas. The shape of the curve isn't conducive to an Excel trend line - which is about as advanced as my equation guessing techniques go!
 
  • #4
In that case, you might actually need Maple or some advanced math software if the equation isn't a single polynomial, log or exponential graph.
 
  • #5
Spanky Deluxe said:
Ah, didn't realize it takes a while to be approved.
It's to stop people from sabotaging the forums by posting spam or porn etc. Usually they should be approved fairly quickly but sometimes they don't get noticed and can sit there for ages. In this case you're allowed to use the "report" button to alert a moderator that you're waiting on an approval. Usually once you do that they get approved pretty quickly.

BTW. I just reported this one now, so it should be approved soon.
 
  • #6
Hmmm, something simple like 10/(8-x) gives a rough fit. It's not all that accurate though.

BTW. What part of the curve needs the most accuracy. The full range shown or is one part like the "knee" more relevant than other parts like near zero for example?
 
Last edited:
  • #7
Thanks for that, I'll give it a try. Ideally it needs to start at the origin, go to large numbers at 8 and the curve needs to fit as good as possible. Alas I don't have the likes of Maple. :(

Using trial and error I've managed to get:

y=exp((x/5.5)^4)

It'll probably have to do for now. :(
 
  • #8
Spanky Deluxe said:
Thanks for that, I'll give it a try. Ideally it needs to start at the origin, go to large numbers at 8 and the curve needs to fit as good as possible. Alas I don't have the likes of Maple. :(

Using trial and error I've managed to get:

y=exp((x/5.5)^4)

It'll probably have to do for now. :(

y=exp((x/5.5)^4) doesn't look like a very good fit to me. To me it looks like the function should have a vertical asymptote at about x=8.

Try y = 5.5 ln(8/(8-x)), it looks pretty close.

Note that "ln" is the natural log function.
 
  • #9
While trying to find a good fit for the graph, I ended up gathering y=ln(8/(8-x)) which I then would've found a suitable multiple for, if uart didn't already post exactly the same function :biggrin:
 

FAQ: How can I work out the equation for this graph?

What is the process for finding the equation of a graph?

The process for finding the equation of a graph involves identifying key points on the graph, such as the x and y intercepts, and using them to form a linear equation in the form of y = mx + b. This equation can then be used to calculate the y values for any given x value on the graph.

What do the variables in the equation represent?

In the equation y = mx + b, the variable y represents the dependent variable or output, while the variable x represents the independent variable or input. The coefficient m represents the slope of the line, and the constant b represents the y-intercept, or the point where the line intersects the y-axis.

Can I use any two points on the graph to find the equation?

Yes, as long as the two points are clearly identified and have different x and y values, they can be used to form the equation of the graph. However, using points that are farther apart can result in a more accurate equation.

What if my graph is not a straight line?

If the graph is not a straight line, then the equation will be more complex. For curved lines, a quadratic equation in the form of y = ax^2 + bx + c may be used. Other types of graphs, such as exponential or logarithmic, may require different equations to accurately represent the data.

Can I use a calculator or computer program to find the equation?

Yes, there are many tools available that can help you find the equation of a graph. Graphing calculators and computer programs can quickly and accurately generate equations based on data points entered or graphed. However, it is still important to understand the process and be able to manually find the equation in case of any errors or discrepancies.

Back
Top