Simple slope calculator using the slope formula. ****I encourage you to click the "?" icon.**** Rise: Blue line Run: Red line Rise = y2-y1 Run = x2-x1 input values for x & y of each point. |=========================| x1 & y1 are for point A or point1, x2 & y2 are for point B or point2. |=========================| I might add a grid soon.
Made this because I got bored of calculating slopes. v1.1 - added ? "Why is this correct?" - The formula for the slope of a line between two points (x1, y1) and (x2, y2) is slope = (y2 - y1) / (x2 - x1).This formula is correct because it captures the concept of "rise over run". - Rise: The vertical change between the two points, calculated as (y2 - y1). - Run: The horizontal change between the two points, calculated as (x2 - x1). The slope represents the rate of change of the line. A positive slope means the line is going uphill from left to right, a negative slope means it's going downhill, and a zero slope means it's horizontal. v1.2 - Added m = Rise/Run in top right, and add 1 & 2 on both dots. All code by me. #slope #calculator #help #formula #grid #graph