Manuals/calci/YMXC
Jump to navigation
Jump to search
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