垂直または水平の線分の長さを測定するのは、座標軸上で線分が占めるセルの数を数えるのと同じくらい簡単です。ただし、スラッシュの長さの計算は少し複雑です。距離の公式を使用して線分の長さを計算できます。この式はピタゴラスの定理、つまり与えられた線分を直角三角形の斜辺として想像することに基づいています。 [1] 基本的な幾何学の公式を使用すると、座標軸上の線分の測定が容易になります。
ステップ パート1 パート 1/2:距離の式 {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/b\/b7\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-1-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-1-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/b\/b7\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-1-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-1-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 1まず、距離の式を知る必要があります。 距離の式: d = ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 {\displaystyle d={\sqrt {(x_{2}-x_{1})^{2}+(y_{2}-y_{1})^{2}}}} 、 ここd {\displaystyle d} 線分の長さを表します。 ( x 1 , y 1 ) {\displaystyle (x_{1},y_{1})} 線分の始点の座標を表す。 ( x 2 , y 2 ) {\displaystyle (x_{2},y_{2})} 線分のもう一方の端点(終点)の座標を表します。 [2] {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/0\/09\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-2-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-2-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/0\/09\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-2-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-2-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 2線分の終点の座標を求めます。 この情報は知られているかもしれません。質問で終点の座標が示されていない場合は、座標軸に沿って x 軸と y 軸上の終点の座標を見つけることができます。 x 軸は水平軸であり、y 軸は水平軸に垂直な座標軸です。 点の座標は ( x , y ) {\displaystyle (x,y)} 。 例えば、線分の2つの端点の座標は ( 2 , 1 ) {\displaystyle (2,1)} そして ( 6 , 4 ) {\displaystyle (6,4)} 。 {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/8\/8f\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-3-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-3-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/8\/8f\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-3-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-3-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 3距離の式に座標を代入します。 正しい変数を代入して座標値を入力するように注意してください。 x {\displaystyle x} 値は括弧内の最初の数字のセットになります。 y {\displaystyle y} 値は2番目のセットである必要があります。例えば、2点の座標は ( 2 , 1 ) {\displaystyle (2,1)} そして ( 6 , 4 ) {\displaystyle (6,4)} これを式に代入すると次のようになります。 d = ( 6 − 2 ) 2 + ( 4 − 1 ) 2 {\displaystyle d={\sqrt {(6-2)^{2}+(4-1)^{2}}}} 広告する パート2 パート 2/2:距離の計算 {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/5\/52\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-4-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-4-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/5\/52\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-4-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-4-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 1括弧内の減算を計算します。 演算の順序に従って、括弧内の演算を最初に計算する必要があります。例えば: d = ( 6 − 2 ) 2 + ( 4 − 1 ) 2 {\displaystyle d={\sqrt {(6-2)^{2}+(4-1)^{2}}}} d = ( 4 ) 2 + ( 3 ) 2 {\displaystyle d={\sqrt {(4)^{2}+(3)^{2}}}} {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/a\/a5\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-5-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-5-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/a\/a5\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-5-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-5-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 2括弧の平方を計算します。 演算の順序に従って、次のステップは累乗(指数)演算を計算することです。例えば: d = ( 4 ) 2 + ( 3 ) 2 {\displaystyle d={\sqrt {(4)^{2}+(3)^{2}}}} d = 16 + 9 {\displaystyle d={\sqrt {16+9}}} {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/d\/dd\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-6-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-6-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/d\/dd\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-6-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-6-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 3平方根の下の値を加算します。 整数値を計算する場合は、平方根記号の下の値を加算します。例えば: d = 16 + 9 {\displaystyle d={\sqrt {16+9}}} d = 25 {\displaystyle d={\sqrt {25}}} {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/7\/7e\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-7-Version-2.jpg\/v4-460px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-7-Version-2.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/7\/7e\/Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-7-Version-2.jpg\/v4-728px-Use-Distance-Formula-to-Find-the-Length-of-a-Line-Step-7-Version-2.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 4計算d {\displaystyle d} 価値。 最終結果を計算するには、前のステップの合計の平方根をとります。平方根を計算するには、結果を近似値に丸める必要がある場合があります。 線分は座標平面内にあるため、結果の単位はセンチメートル、メートル、またはその他のメートル法単位ではなく、世界共通の「単位」になります。 例えば: d = 25 {\displaystyle d={\sqrt {25}}} d = 5 {\displaystyle d=5} 広告するヒント この式を、中点の式、傾きの式、直線の方程式などの他の式と混同しないでください。 結果を計算するときは、演算の順序を覚えておいてください。まず括弧内の減算を計算し、次に平方演算、加算演算、最後に平方根を計算します。 広告する