Ҳисобкунандаи уфуқ
Ҷустуҷӯи уфуқ, 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.
Саволҳои маъмул
Чӣ тавр ба ҳисоб гирифтани уфуқ аз ду нуқта?
Slope = (y₂ − y₁) / (x₂ − x₁), the change in y divided by the change in x. From (0,0) to (3,6) the slope is 6/3 = 2.
Чаро уфуқӣ хат уфуқӣ нест?
Хати амудӣ ягон тағйиротро дар x надорад, бинобар ин формулаи уфуқӣ ба сифр тақсим мешавад. Муқоисаи он x = доимӣ ба ҷои y = mx + b мебошад.
Y- гузарондан чист?
Ин ҷое, ки хат аз y- меҳвар мегузарад, b дар y = mx + b, ки аз b = y₁ − m· x₁ пайдо мешавад. Барои хате, ки аз (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°.
Маънои уфуқҳои мусбат ё манфӣ чист?
Дарозии мусбат аз чап ба рост боло меравад, дарозии манфӣ поён меравад, дарозии 0 уфуқӣ аст ва хатҳои амудӣ дарозии номаълум доранд.
Оё ҳисобкунак масофаро низ нишон медиҳад?
Дар ин ҷо шумо метавонед масофаи байни ду нуқтаро, ки дар ин ҷо ворид кардаед, муайян кунед.
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);
Ин натиҷаҳо танҳо барои маслиҳати умумӣ, на маслиҳати молиявӣ, тибби ё андозӣ мебошанд.