How to turn a table into an equation?

  • Thread starter Thread starter StillDumb
  • Start date Start date
  • Tags Tags
    Table
StillDumb
Messages
6
Reaction score
0
Hey guys
Sorry if this is a dumb question, but how do I turn a table into an equation? I need the line or curve to fit the points. And I need the line or curve to periodically go back to zero in between each point. Below are my numbers and straight line slopes.

x y Slope
1 20
2 8 -12
3 9 1
4 19 10
5 27 8
6 9 -18
7 19 10
8 27 8
9 1 -26
10 27 26
11 20 -7
12 5 -15
13 19 14
14 20 1

Questions:
1) Since I want the equation to periodically return to zero in between each point, is there a way that I can model this as a sin or cos wave (or a combination)? That would make sense, right?
2) Or if I want straight lines, how do I do that without having 14 piece-wise functions?
3) Also, is there a way maybe to find the pattern of the slopes and make dY/dX equal to that pattern? That way I can work backwards using some calculus?

Thanks
 
Mathematics news on Phys.org
You might want to take a look at this:

http://en.wikipedia.org/wiki/Hermite_interpolation

This is probably the easiest way of obtaining a single function to fit the points and derivatives. If you're allowing piecewise functions, you could take a look at spline interpolation. Cubic splines are pretty powerful, but you'll need some practice with it before you try.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Back
Top