Хуваалцах
Хоёр цэгээс бүрдэх шулуун урт, y- зайд, тэнцүү байдлыг олох.
Тоо бичсэнээр үр дүнг шинэчилнэ.
Энэ калькуляторын тухай
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.
Жишээ асуултууд
Хоёр цэгээс хэрхэн өргөнийг тооцох вэ?
Схил = (y2 − y1) / (x2 − x1), y-ийн өөрчлөлтийг x-ийн өөрчлөлтөөр хуваах. (0,0)-ээс (3,6) хүртэлх схил 6/3 = 2.
Яагаад уртгаан шугамын өргөн тодорхойгүй байна вэ?
A vertical line has no change in x, so the slope formula divides by zero. Its equation is x = constant instead of y = mx + b.
Y-ийн таслалт юу вэ?
Энэ нь y- тэнхлэгийг тойрсон шугамын байрлал юм. b = y₁ − m· x₁- ээс олж авсан y = mx + b- ийн b. (0, 0) ба (3, 6) - ийг тойрсон шугамын хувьд 0.
Хийх үйлдлийн утга юу вэ?
It is the angle the line makes with the horizontal, equal to the arctangent of the slope. A slope of 2 gives about 63.4°.
What does a positive or negative slope mean?
A positive slope rises from left to right, a negative slope falls, a slope of 0 is horizontal, and a vertical line has an undefined slope.
Тоо бодогч зайг харуулах уу?
Тийм ээ. Энэ нь өргөргийн хамт таны оруулсан хоёр цэгийн хоорондох зайг харуулна.
API - энэ калькуляторыг кодоос ашиглах
Энэ тооцоологчийг JSON- ийн төгсгөлийн цэгийн хувьд дуудна. Товч хэрэггүй. Доорх талбарын утгауудыг асуултын параметр эсвэл JSON- оор илгээнэ үү. Та юу ч хассан бай, энэ хуудсанд заасан стандарт параметрийг ашиглана. Тодорхойгүй параметр нь 400, хэзээ ч нууц нугалбар биш. Бүх API баримт бичгийг уншина уу →
Сүүлийн цэг
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);
Энэ нь зөвхөн ерөнхий зөвлөгөөний дүн шинжилгээ бөгөөд санхүү, эмнэлгийн болон татварын зөвлөгөө биш юм.