Finding Function for Set of Data?

Euphoriet
Messages
105
Reaction score
0
Finding Function for Set of Data?

Anyone know how to find a function for a set of data (x and y table)... that make up a quadratic function (sort of like a part of a parabola)

I know I can do it in the calculator with QuadReg, but I woudl really appricaite it if someone could please walk me through the way in which you would do it algebraically.

Like if I had a sample set of data... how would I find the values for a, b and c in:


y= ax^2 + bx + c


I'm assuming that is the general formula typically used.
 
Physics news on Phys.org
Linear Algebra, least squares method.
 
That looks like what I need to do BUT, I have found no tutorial that I can understand... anyone care to give an example ... that simplifies this process
 
You need to take a course in linear alegbra.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top