Manuals/calci/YMXC

From ZCubes Wiki
Revision as of 14:57, 13 October 2017 by Devika (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
YMXC (KnownYArray,KnownXArray)


  • and are set of values.

Description

  • This function calculates the slope of the line.
  • In , 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

  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


See Also

References