R
R
I have a worksheet that has a set of numbers n. In one column (A) I
have the original numbers n, in the second column (B) I have the
average of the last 10. I have both columns graphed on a single graph
so in effect I have the original data and a 10 period moving avergae.
I need to figure out the slope, as represented in degrees of angle of
this moving avergae between each of the two data points. ie, I'll have
a third column on the worksheet that in cell c12 says in effect:
"between points b11 and b12, the angle of the 10 period moving average
is 28 degrees...." etc.
So....
I looked up on google the equation to figure out slope:
slope = ((y2 - y1) / (x2-x1)) which makes sense. Here according to the
webpage I found on this Point A (or say the data in cell b11 on my
spreadsheet) has the coordinates x1,y1 and point B (or the data in
cell B12) has the coordinates x2,y2. Obvioslut just plug this in and
get slope right? Here is where my brain is like old cereal that has
been in the bowl too long... how can I get two numbers out of my
single number in cell b11? In other words if b11 says 42, where is the
2nd numner for the x,y coordinate thing so I can plug it into the
slope equation? I hoep I have articulated this in a comprehensible
way.
And that brings me to my 2nd question. The web page that describes how
to calculate slope:
http://cstl.syr.edu/fipse/GraphA/Unit4/Unit4Ex1.html
shows sample answers being 1/5 or 2. How does one then translate this
into degrees (aka, a 70 degree angle or 90 degree angle)?
Thanks for the remedial 4th grade math to any who can help me!
have the original numbers n, in the second column (B) I have the
average of the last 10. I have both columns graphed on a single graph
so in effect I have the original data and a 10 period moving avergae.
I need to figure out the slope, as represented in degrees of angle of
this moving avergae between each of the two data points. ie, I'll have
a third column on the worksheet that in cell c12 says in effect:
"between points b11 and b12, the angle of the 10 period moving average
is 28 degrees...." etc.
So....
I looked up on google the equation to figure out slope:
slope = ((y2 - y1) / (x2-x1)) which makes sense. Here according to the
webpage I found on this Point A (or say the data in cell b11 on my
spreadsheet) has the coordinates x1,y1 and point B (or the data in
cell B12) has the coordinates x2,y2. Obvioslut just plug this in and
get slope right? Here is where my brain is like old cereal that has
been in the bowl too long... how can I get two numbers out of my
single number in cell b11? In other words if b11 says 42, where is the
2nd numner for the x,y coordinate thing so I can plug it into the
slope equation? I hoep I have articulated this in a comprehensible
way.
And that brings me to my 2nd question. The web page that describes how
to calculate slope:
http://cstl.syr.edu/fipse/GraphA/Unit4/Unit4Ex1.html
shows sample answers being 1/5 or 2. How does one then translate this
into degrees (aka, a 70 degree angle or 90 degree angle)?
Thanks for the remedial 4th grade math to any who can help me!