# PCB Heaven

## General Category => Maths, Geometry, Physics and others => Topic started by: tpone on March 02, 2008, 10:41:20 AM

Title: Average and rise
Post by: tpone on March 02, 2008, 10:41:20 AM
We have 2 different numbers. These numbers are the measurement of temperature.
how can someone calculate the average between these two numbers?
Is also a way to have a magnitude to measure the degree of rising? I mean, if there is a way to have a number that shows if the temperature rises fast or slow
Title: Re: Average and rise
Post by: kostas on March 02, 2008, 13:27:23 PM
for 2 numbers, x and y, the average is

A=(x+y)/2

for n numbers, the average is

A=(x1+x2+x3+.....+xn)/n

There is a number that shows the rise and fall. This is the tangent . For example:
Temperature 1: 25 degrees C  measured at 1:00 (time)
Temperature 2: 27 degrees C  measured at 2:00 (time)

The tangent (slope) is
T= (Y2-Y1)/(X2-X1) = (2-1)/(27-25)
This tangent is a number that shows the degrees of rising and falling (in rads). Using arctangent you can get this number in degrees.
Title: Re: Average and rise
Post by: tpone on March 02, 2008, 16:35:44 PM
I think i've got the point.
Thank you!  ;D
Title: Re: Average and rise
Post by: ScubaCap on March 03, 2008, 01:10:48 AM
and if you have 10-20 measurements, what is this tangent?
Title: Re: Average and rise
Post by: Alex on March 03, 2008, 12:01:55 PM
which one? the tangent between the 1st and the 2nd? the 2nd and the 3d? the first and the las? depends on  what you want to measure
Title: Re: Average and rise
Post by: kam on March 03, 2008, 12:24:45 PM
Exactly. You need to say what rise you want to measure. And the funny thing is that if you measure all rises between neighbor measurements and add them as vectors, you will finally get the rise as if you measure it between the 1st and the last measure.
Title: Re: Average and rise
Post by: ScubaCap on March 04, 2008, 22:16:16 PM
Of course, how stupid of me. It was late at night i suppose  :-X
Title: Re: Average and rise
Post by: Alex on March 05, 2008, 19:37:15 PM
Einstein failed in maths... you know  ;) ;)
Title: Re: Average and rise
Post by: manley_V on March 05, 2008, 23:07:45 PM
lol :D :D :D :D :D :D :D :D :D
Title: Re: Average and rise
Post by: Alex on March 06, 2008, 01:51:32 AM
;D