From ZCubes Wiki
Revision as of 14:21, 25 February 2019 by Devika (talk | contribs) (→‎Related Videos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
YMXC (KnownYArray,KnownXArray)


  • and are set of values.
    • YMXC() calculates the slope of the line.


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 .


  1. YMXC([3,4],[9,2])= -0.14285714285714285 4.285714285714286
  2. YMXC([-2,7],[5,-11]) = -0.5625 0.8125
  3. YMXC([4.2,14],[13,-29.3]) = -0.23167848699763594 7.211820330969267

Related Videos


See Also