Rectangle Diagonal Calculator
Compute rectangle diagonal from width w and height h using d = √(w² + h²).
📐 計算公式
矩形對角線與要素(本頁程式碼口徑):對角線 d=√(寬²+高²);面積=寬×高;周長=2×(寬+高);兩對角線夾角=2×atan(寬高較小者÷較大者)×180÷π(°)。校驗:兩項輸入空值/非法值即提示並中止。判據:無固定分級,正方形時夾角為 90°、越扁夾角越小;對角線相互平分且相等。
矩形對角線長度。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Rectangle diagonal | d = √(w² + h²) | Pythagorean theorem |
| Area | A = w·h | Rectangle area |
| Perimeter | P = 2(w + h) | Rectangle perimeter |
| Screen sizing | Inches measure the diagonal | Display industry |
| Aspect ratio | 16:9 and 4:3 common | Display standards |
| Units | Consistent length units | Dimensional rules |
📌 計算說明
- d = √(w² + h²)。
- 3×4 矩形對角線 5。