Glenn G said:
Homework Statement
Plot a suitable graph, using your x and y data, to find the variables a and b.
Homework Equations
y = ax + bx^2
The Attempt at a Solution
This is clearly a quadratic, the best I can do is to play about with lns and I came out with
lny = lnax + lnbx^2
lny = ln(ab.x^3)
lny = 3ln(ab) + 3lnx
so plotting lny against lnx should give gradient 3 and from the intercept can get the product ab but not the individual values of a and b.
Other than taking two point from the graph and using simulataneous equations is there something I'm missing? Is there another graphical way to get at a and b?
People have asked you about the nature of your data, and you have refused to answer. That question is
very important. If you have just two data points ##(x_1,y_1)## and ##(x_2,y_2)## you can set up and solve two equations to find ##a## and ##b##; the equations you need to use have been written already by others.
However, if you have more than two data points, and if there are possibly some experimental errors in the data, that "solving" approach is in trouble. Suppose, for example, you had 10 data points ##(x_1,y_1), (x_2,y_2), \ldots, (x_{10},y_{10})##. There may be no possible parabola that fits all of them; there are 45 different ways to choose two point from ten points, so there may be as many as 45 different "fits" to your data. Obviously, that makes no sense, so in such cases we seek a "compromise" fit, which may not go through any of the points exactly, but (hopefully) passes close to all of them. When you have data with experimental errors, that is the best you can hope for.
Anyway, in such cases we normally find the so-called "least-squares fit"; see, eg.,
http://mathworld.wolfram.com/LeastSquaresFitting.html .
You can find many other links by doing a Google search for "least squares fit", for example. Many of the links use at least a bit of Calculus, so I have not cited them herein. Of course, I could spend quite a lot of time writing it all out, but numerous people have done that already, and it is as easy for you to read material on other web sites as on this one.
So, I ask again: what is the nature of your data?