The ordered pairs of the coordinates you have are listed as (x, y). Use the first set of coordinates as (x1, y1) and the second set as (x2, y2). Plug the numbers into the formula m = (y2-y1)/(x2-x1) and solve for m. The slope-intercept formula of a line is written as y = mx+b, where m is the slope and b is the y-intercept (the point on the y-axis where the line crosses it). Plug the number you found for your slope in place of m. In our example, the formula would read y = 1x+b or y = x+b when you replace the slope value. Pick one of the ordered pairs to put into the slope-intercept formula. Put the x-value in place of x and the y-value in place of y. In this example, if you chose (3, 8) as your coordinates, then the formula would read 8 = 1(3)+b. Once you plug the x- and y-values as well as your slope into the formula, find the value of b in the equation. Follow the order of operations first before moving the rest of the numbers to the other side. Leave b on one side of the equation to solve it. In our example, the formula currently reads 8 = 1(3)+b. Multiply 1 and 3 together to get 8 = 3+b. Since 3 is a positive number, subtract 3 from each side to isolate b. This leaves you with 5 = b, or b = 5. Once you’re finished, plug in the slope for m and the y-intercept for b. After that, you’ve found the equation for the line. For example, the equation for the line with points on (3, 8) and (7, 12) is y = 1x+5 or simply y = x+5.
m आपको मिले स्लोप को स्लोप-इंटरसेप्ट फार्मूला में m से बदल दें: y-इंटरसेप्ट को हल करने के लिए आप x और y को एक ज्ञात पॉइंट से सब्स्टीट्यूट करें: इक्वेशन को b के लिए हल करें: इक्वेशन समाप्त करने के लिए स्लोप और y-इंटरसेप्ट को स्लोप-इंटरसेप्ट फार्मूला में डाल दें: