Slope Calculator

Ita shuwa kuti unoziva kukwira, y-kuparadzana uye equation yemugwagwa kuburikidza nenzvimbo mbiri.

Slope (m) —
y-intercept (b) —
Equation —
Angle yekuzvimba —
Kusiyana pakati pezviratidzo —

Zvinyorwa zvinogadziridzwa paunenge uchinyora.

Did this calculator give you the right answer?

Nezve iyi kalkulator

The slope of a line measures its steepness — the rise over the run between two points. This calculator takes two points and returns the slope, the y-intercept, the equation of the line in slope-intercept form, the angle of incline, and the distance between the points, with a plot of the line.

The slope is m = (y₂ − y₁) / (x₂ − x₁), the change in y divided by the change in x. From (0, 0) to (3, 6) that is 6 ÷ 3 = 2, so the line rises two units for every one across. The y-intercept b comes from b = y₁ − m·x₁ (here 0), giving the equation y = 2x, and the angle of incline is arctan(2) ≈ 63.4°. A positive slope rises left to right, a negative slope falls, and a slope of 0 is horizontal. A vertical line has no change in x, so its slope is undefined and its equation is x = constant.

Slope shows up as grade on a road, pitch on a roof, rate of change in a graph, and the coefficient in a linear equation. It is the single number that tells you how fast one quantity changes with another.

Zvimwe zvinobvunzwa zvakanyanya

Maitiro ekuziva kuti kureba kwechiso chemufananidzo ndechipi?

Slope = (y₂ − y₁) / (x₂ − x₁), shanduko mu y yakaparadzana neshanduko mu x. Kubva pa (0,0) kusvika pa (3,6) shanduko iri 6/3 = 2.

Nei iri a zvizere line's slope undefined?

A zvizere mhiri haasi kuchinja mu x, saka kusvikira formula anoparadza ne zero. Its equation is x = constant kwete y = mx + b.

Chii chinonzi y-intercept?

It is where the line crosses the y-axis, the b in y = mx + b, found from b = y₁ − m·x₁. For the line through (0, 0) and (3, 6) it is 0.

Chii chinonzi angle of incline?

Iyo angle iyo mutsara unoita neiyo horizontal, imwechete ne arctangent yeiyo slope. A slope ye2 inodarika 63.4°.

Chii chinonzi kukwira kana kukwira kwemvura?

A positif slope rinosvitsa kubva kuruboshwe kuenda kurudyi, a negative slope inodzikira, a slope ye0 iri horizontal, uye a vertical line ine undefined slope.

Chikamu cheku calculator chinoratidzawo nzvimbo yacho?

Yeah. Pamwe nekumhanya kunopa kure pakati pezvimwe zvidimbu zvawakanyora.

❤️ Love Calculator.Free? Shandisa

𝕏  X Facebook Reddit
API — kushandisa iyi kalkulator kubva code

Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara API docs →

Endpoint

GET https://calculator.free/api/v1/slope/

curl

curl "https://calculator.free/api/v1/slope/?x1=0&y1=0&x2=3&y2=6"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/slope/?" + new URLSearchParams({
    "x1": "0",
    "y1": "0",
    "x2": "3",
    "y2": "6"
  }));
const data = await r.json();
console.log(data.results);

Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.