Difference between revisions of "Manuals/calci/YMXC"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''YMXC (KnownYArray,KnownXArray)'''</div><br/> *<math>KnownYArray</math> and <math>KnownXArray</math> are set of values. ==Description== *This fu...") |
|||
Line 1: | Line 1: | ||
− | + | =YMXC (KnownYArray,KnownXArray)= | |
+ | |||
+ | where | ||
+ | |||
*<math>KnownYArray</math> and <math>KnownXArray</math> are set of values. | *<math>KnownYArray</math> and <math>KnownXArray</math> are set of values. | ||
+ | |||
+ | |||
+ | YMXC() calculates the slope of the line. | ||
==Description== | ==Description== | ||
− | + | ||
− | + | YMXC (KnownYArray,KnownXArray) | |
+ | *<math>KnownYArray</math> is the Y values in the line and <math>KnownXArray</math> is the X values in the line. | ||
*The slope of a line characterizes the direction of a line. | *The slope of a line characterizes the direction of a line. | ||
*To find the slope, you divide the difference of the y-coordinates of 2 points on a line by the difference of the x-coordinates of those same 2 points. | *To find the slope, you divide the difference of the y-coordinates of 2 points on a line by the difference of the x-coordinates of those same 2 points. |
Revision as of 15:47, 4 January 2018
YMXC (KnownYArray,KnownXArray)
where
- and are set of values.
YMXC() calculates the slope of the line.
Description
YMXC (KnownYArray,KnownXArray)
- is the Y values in the line and is the X values in the line.
- The slope of a line characterizes the direction of a line.
- To find the slope, you divide the difference of the y-coordinates of 2 points on a line by the difference of the x-coordinates of those same 2 points.
- Consider two points of Coordinates are and and Coordinates are and .
- The equation used to calculate the slope from two points is:
Or .
Examples
- YMXC([3,4],[9,2])= -0.14285714285714285 4.285714285714286
- YMXC([-2,7],[5,-11]) = -0.5625 0.8125
- YMXC([4.2,14],[13,-29.3]) = -0.23167848699763594 7.211820330969267