Calculate the Diagonal of a Rectangle
Operation: Diagonal of a Rectangle
Instruction: To find the diagonal (d) of a rectangle, use the lengths of its sides (a and b), and apply them in the formula.
Formula: sqrt(pow(a, 2) + pow(b, 2))
Example: If side a = 8 units and side b = 6 units, then d = sqrt(pow(8, 2) + pow(6, 2)) ≈ 10 units
Result: