Hellingcalculator

Zoek de helling, y-intercept en vergelijking van de lijn door twee punten.

Helling (m) —
y-inercept (b) —
Regelvergelijking —
Hellingshoek —
Afstand tussen punten —

Resultaten update als u typt.

Heeft deze rekenmachine je het juiste antwoord gegeven?

Over deze rekenmachine

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.

Veelgestelde vragen

Hoe bereken je helling vanaf twee punten?

Helling = (y2 − y1) / (x2 − x1), de verandering in y gedeeld door de verandering in x. Van (0,0) tot (3,6) is de helling 6/3 = 2.

Waarom is een verticale lijn ongedefinieerd?

Een verticale lijn heeft geen verandering in x, dus de hellingsformule deelt door nul. De vergelijking is x = constant in plaats van y = mx + b.

Wat is het y-inercept?

Het is waar de lijn de y-as kruist, de b in y = mx + b, gevonden van b = y1 − m·x1. Voor de lijn door (0, 0) en (3, 6) is het 0.

Wat is de hoek van helling?

Het is de hoek die de lijn maakt met de horizontale, gelijk aan de arctangent van de helling. Een helling van 2 geeft ongeveer 63,4°.

Wat betekent een positieve of negatieve helling?

Een positieve helling stijgt van links naar rechts, een negatieve helling valt, een helling van 0 is horizontaal, en een verticale lijn heeft een ongedefinieerde helling.

Geeft de rekenmachine ook de afstand weer?

Ja, samen met de helling geeft het de rechte lijn afstand tussen de twee punten die u inliep.

❤️ Liefde Calculator.Free? Deel het

𝕏  X Facebook Reddit
API

Noem deze rekenmachine als een gratis JSON eindpunt.. geen sleutel nodig. Stuur de veldwaarden hieronder als query parameters of JSON. Alles wat je weglaat gebruikt dezelfde standaard als deze pagina is voorgevuld met; een onbekende parameter is een 400, nooit een stil nul. Lees de volledige API docs →

Eindpunt

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);

De resultaten zijn schattingen voor algemene richtsnoeren, niet voor financieel, medisch of fiscaal advies.