首页Home › 数学工具Math

📉 斜截式方程计算器Slope-Intercept Form Calculator

由两点或一点加斜率求直线的斜截式 y = mx + b,给出斜率、y 截距、x 截距和一般式,分数系数会尽量保持精确。Find the slope-intercept equation y = mx + b from two points or a point and the slope, with the slope, y-intercept, x-intercept and standard form, keeping fractions exact where possible.

使用说明与常见问题How-to & FAQ

「斜截式方程计算器」是什么?What is the Slope-Intercept Form Calculator tool?

由两点或一点加斜率求直线的斜截式 y = mx + b,给出斜率、y 截距、x 截距和一般式,分数系数会尽量保持精确。Find the slope-intercept equation y = mx + b from two points or a point and the slope, with the slope, y-intercept, x-intercept and standard form, keeping fractions exact where possible.

如何使用「斜截式方程计算器」?How do I use the Slope-Intercept Form Calculator tool?

在「斜截式方程计算器」中,填写「已知」、「x₁」、「y₁」、「x₂」、「y₂」等参数,结果会随输入实时计算并显示在下方。In the Slope-Intercept Form Calculator: Fill in "Given", "x₁", "y₁", "x₂", "y₂"; results are recalculated instantly as you type.

y = mx + b 中 m 和 b 是什么?What are m and b?

m 是斜率(x 每增加 1,y 的变化量),b 是 y 截距(直线与 y 轴交点的纵坐标)。m is the slope — how much y changes when x rises by 1 — and b is the y-intercept, where the line crosses the y-axis.

一般式怎么得到?How is the standard form found?

把 y = mx + b 移项为 Ax + By = C,并乘以分母公倍数使 A、B、C 为互质整数且 A ≥ 0;若斜率或截距无法化为分母不超过 10000 的分数,则保留小数系数(仍保证 A ≥ 0)。注意输入的小数如 0.3333333333 并不严格等于 1/3,此时也会保留小数,并提示它接近哪个分数;想得到整数系数,可用两点模式输入。Rearrange y = mx + b into Ax + By = C and scale so A, B and C are coprime integers with A ≥ 0. If the slope or intercept is not a fraction with denominator up to 10,000, decimal coefficients are kept (still with A ≥ 0). A typed decimal such as 0.3333333333 is not exactly 1/3, so it also keeps decimals and the result notes the nearby fraction; enter two points to get integer coefficients.

计算精度如何?How precise are the results?

「斜截式方程计算器」使用 JavaScript 双精度浮点数(约 15–16 位有效数字);极大或极小的数值可能存在精度误差。The Slope-Intercept Form Calculator uses double-precision floating point (about 15–16 significant digits); very large or very small values may lose precision.

「斜截式方程计算器」免费吗?需要注册吗?Is the Slope-Intercept Form Calculator free? Do I need an account?

「斜截式方程计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Slope-Intercept Form Calculator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🧪 相对风险(RR)计算器Relative Risk Calculatorχ² 卡方检验计算器(列联表独立性)Chi-Square Test Calculator (Contingency Table)📊 单因素方差分析(ANOVA)计算器One-Way ANOVA Calculator🚩 异常值计算器(IQR 法)Outlier Calculator (IQR Method)📐 平均变化率计算器Average Rate of Change Calculator⬛ 配方法计算器Completing the Square Calculator✳️ 离散卷积计算器Convolution Calculator⏫ 翻倍时间计算器Doubling Time Calculator🔺 等边三角形计算器Equilateral Triangle Calculator📐 余弦定理计算器Law of Cosines Calculator📏 正弦定理计算器Law of Sines Calculator🧊 正方体计算器Cube Calculator

← 全部工具All tools