To find the perimeter of any shape, simply add the lengths of the individual line segments together. To find the length of an individual line segment (x1,y1)-(x2,y2) simply compute the square root of (x1-x2)2 + (y1-y2)2.
If (x1, y1) and (x2, y2) are two points on the line, then the formula for the slope is (y2-y1)/(x2-x1) provided x2 ≠x1. If x2 = x1 then the line is vertical and the slope is not defined.
it divides theline segment..xDusing midpoint formula..and division of line segment formula..m=(X1+X2)/2 (Y1+Y2)/2X=X1+r(X2-X1)xD ..
Slope of line: (y2 -y1)/(x2-x1)
Find 2 points on the line, (x1,y1 ) (x2, y2) Slope = (y2 - y1)÷(x2-x1) In the equation of a line y = ax + b , a is the slope>
Line (x1, y1, x2, y1); Line (x2, y1, x2, y2); Line (x2, y2, x1, y2); Line (x1, y2, x1, y1);
To find the perimeter of any shape, simply add the lengths of the individual line segments together. To find the length of an individual line segment (x1,y1)-(x2,y2) simply compute the square root of (x1-x2)2 + (y1-y2)2.
If (x1, y1) and (x2, y2) are two points on the line, then the formula for the slope is (y2-y1)/(x2-x1) provided x2 ≠x1. If x2 = x1 then the line is vertical and the slope is not defined.
(y - y1) = m*(x - x1) where (x1, y1) are the coordinates of a point on the line and , is the slope.
(y -y1)=(x -x1)(y2 -y1)/(x2 -x1) defines the line containing coordinates (x1,y1) and (x2.y2).
y - y1 = m(x - x1), where m is the slope of the line, and (x1, y1) is a point on the line.
it divides theline segment..xDusing midpoint formula..and division of line segment formula..m=(X1+X2)/2 (Y1+Y2)/2X=X1+r(X2-X1)xD ..
Slope of line: (y2 -y1)/(x2-x1)
Drawing a line from (x1, y1) to (x2, y2) using a default Graphics object: graphics.drawLine(x1, y1, x2, y2);
Find 2 points on the line, (x1,y1 ) (x2, y2) Slope = (y2 - y1)÷(x2-x1) In the equation of a line y = ax + b , a is the slope>
(y-y1)=(y2-y1/x2-x1)(x-x1)
(y2-y1)/(x2-x1)