Finding polynomials from a set of coordinates
03-13-2017, 03:37 PM
Post: #19
 Csaba Tizedes Senior Member Posts: 608 Joined: May 2014
RE: Finding polynomials from a set of coordinates
(03-12-2017 11:31 PM)Dieter Wrote:  Of course calculating a periodoc function is possible as well. Here is a possible result with a period of 24 hours:

temperature ~ 12 – 13/3 cos(r*t) + 1/3 cos(3r*t) – 8/sqrt(3) sin(r*t) – 1/sqrt(3) sin(2r*t)

where r = 2pi/24 = pi/12

This may be a better solution

If I'm sitting in the middle of nowhere and I want to fit a periodic function, I will use the simplest solution:

1.) This is about a data of one day: the period is 24 hours
2.) The min and max values are exactly at t=4h and at t=16h
3.) Therefore the inflection is between them at t=10h
4.) The range of data between the max and min values of temperature, therefore we can calculate the amplitude of periodic function and the mean value for the shift of the function
5.) If I want to more exact value for the shift on the temperature axis, I can calculate the average of the measured temperatures - this requires little more keypress, no problem, I like it
6.) Just for fun, draw a little diagram and calculate the temperature differences and calculate RMS

Everything fits in this half letter paper:

And I used only one piece of paper, one of my favourite durable pencil and my most durable HP15C.

This IS the engineering problem solving, not the sooo looong equuuuaaatioooons with looots of coefficients.

Csaba

PS.: I have no problem with you, I hope you're feel it, I'm just this kind of men.
 « Next Oldest | Next Newest »

 Messages In This Thread Finding polynomials from a set of coordinates - tdh79 - 03-10-2017, 07:39 PM RE: Finding polynomials from a set of coordinates - Han - 03-10-2017, 07:42 PM RE: Finding polynomials from a set of coordinates - Juan14 - 03-10-2017, 08:44 PM RE: Finding polynomials from a set of coordinates - tdh79 - 03-12-2017, 07:56 PM RE: Finding polynomials from a set of coordinates - Han - 03-10-2017, 09:09 PM RE: Finding polynomials from a set of coordinates - tdh79 - 03-10-2017, 09:13 PM RE: Finding polynomials from a set of coordinates - Han - 03-10-2017, 09:18 PM RE: Finding polynomials from a set of coordinates - tdh79 - 03-10-2017, 09:57 PM RE: Finding polynomials from a set of coordinates - SlideRule - 03-11-2017, 12:53 AM RE: Finding polynomials from a set of coordinates - grsbanks - 03-11-2017, 10:25 AM RE: Finding polynomials from a set of coordinates - SlideRule - 03-12-2017, 01:49 PM RE: Finding polynomials from a set of coordinates - Csaba Tizedes - 03-12-2017, 05:58 PM RE: Finding polynomials from a set of coordinates - Dieter - 03-12-2017, 06:38 PM RE: Finding polynomials from a set of coordinates - Csaba Tizedes - 03-12-2017, 08:27 PM RE: Finding polynomials from a set of coordinates - Dieter - 03-12-2017, 11:31 PM RE: Finding polynomials from a set of coordinates - Csaba Tizedes - 03-13-2017, 03:00 PM RE: Finding polynomials from a set of coordinates - grsbanks - 03-13-2017, 03:05 PM RE: Finding polynomials from a set of coordinates - Csaba Tizedes - 03-13-2017 03:37 PM RE: Finding polynomials from a set of coordinates - SlideRule - 03-13-2017, 02:11 AM RE: Finding polynomials from a set of coordinates - SlideRule - 03-14-2017, 02:20 AM RE: Finding polynomials from a set of coordinates - tdh79 - 03-19-2017, 10:35 AM RE: Finding polynomials from a set of coordinates - SlideRule - 03-19-2017, 11:49 PM

User(s) browsing this thread: 1 Guest(s)