မြေပုံတွက်ချက်ခြင်း
နှစ်ချက်ဖြတ်ပြီးလိုင်း၏ကွေ့, y-intercept နှင့်ညီမျှခြင်းကိုရှာပါ။
သင်ရိုက်ထည့်သလိုရလဒ်များကို update လုပ်ပါ
ဤဂဏန်းတွက်စက်အကြောင်း
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 = (y2 − y₁) / (x₂ − x₁), x တွင်ပြောင်းလဲမှုအားဖြင့်ခွဲဝေ y ၏ပြောင်းလဲမှု. ကနေ (0,0) မှ (3,6) ၏ချိုင့်ဝှမ်းသည် 6/3 = 2.
ဘာကြောင့် vertical လိုင်းရဲ့ကွေ့ undefined ဖြစ်ပါတယ်။
vertical line တစ်ခု x မှာပြောင်းလဲမှုမရှိပါ, ဒါကြောင့်အလျင်အမြန် formula ကိုသုညအားဖြင့်ခွဲဝေ. ၎င်း၏ညီမျှခြင်း x ကို= y = mx + b ကိုအစားမပြတ်ဖြစ်ပါသည်.
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.
မြေပုံ၏ မျက်နှာပြင်အမြင့်မှာ ဘယ်လောက်လဲ။
ဒါဟာလိုင်း horizontal နဲ့လုပ်တဲ့အမြင်အာရုံဖြစ်ပါတယ်, တောင်တက် arctangent တူညီ. တောင်တက်2အကြောင်းကိုပေး 63.4°.
တစ်ခုအပြုသဘောသို့မဟုတ်အပျက်သဘောဆန့်ကျင်ဘက်ကွေ့ဘာကိုဆိုလိုသလဲ?
တစ်ဦးအပြုသဘောဆောင်သောကွေ့ဝိုက်ညာဘက်မှလက်ဝဲမှတက်, တစ်ဦးအပျက်သဘောဆောင်သောကွေ့ဝိုက်ကျဆင်း,0၏ကွေ့ဝိုက် horizontal ဖြစ်ပါတယ်, နှင့်တစ်ဦး vertical လိုင်းတစ်ဦးမသတ်မှတ်ထားသောကွေ့ဝိုက်ရှိပါတယ်.
ဂဏန်းတွက်စက်က အကွာအဝေးကို ပြသပါသလား။
ဟုတ်ကဲ့. တောင်ထိပ်နှင့်အတူသင်ထည့်သွင်းထားသောနှစ်ခုအချက်အကြားအကွာအဝေးကိုပေးသည်.
API ကို — code ကိုမှဤဂဏန်းတွက်စက်ကိုအသုံးပြု
အခမဲ့ JSON endpoint အဖြစ်ဤဂဏန်းတွက်စက်ကိုခေါ် - လိုအပ်သော key ကိုမရှိ. query parameters တွေကိုသို့မဟုတ် JSON အဖြစ်အောက်ပါ Field Values ကိုပို့. သင်ပယ်ချဘာမှတူညီသော default ကိုအသုံးပြုသည်ဤစာမျက်နှာနှင့်အတူ pre-filled ဖြစ်ပါတယ်။ အမည်မသိ parameter ကိုတစ်ခုဖြစ်ပါသည် 400, တစ်ဦးတိတ်ဆိတ်သော Zero ကိုမဆို. ပြည့်စုံသော 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);
ရလဒ်များသာယေဘုယျလမ်းညွှန်မှုများအတွက်ခန့်မှန်းချက်ဖြစ်ကြသည်, မငွေကြေး, ဆေးဘက်ဆိုင်ရာသို့မဟုတ်အခွန်အကြံပေးချက်.