English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The following is a problem I have to program for MATLAB; my math skills are not the best though, so I would appreciate any help:)
A box has the dimensions of 5 inches x 4 inches x 6 inches
I must: compute the length of the diagonal from one corner to the far corner of the box. Also, if you know what this is called, it might help because there is possibly a program in MATLAB that already does this function.... Thanks in advance!

2007-09-06 20:36:30 · 4 answers · asked by vwmanxter 2 in Science & Mathematics Mathematics

4 answers

According to Mr. Pythagoras the diagonal is
√(a² + b² + c²)
where a, b and c are the sides of the box.
-

2007-09-06 20:53:09 · answer #1 · answered by oregfiu 7 · 1 0

A box has the dimensions of 5 inches x 4 inches x 6 inches
a=5, b= 4, c=6

a^2 + b^2 = e^2

and

e^2 + c^2 = d^2

we have by substitution

a^2 + b^2 + c^2 = d^2

Thus, the square of the diagonal of a box is equal to the sum of the squares of the dimensions of the box.

d^2 = 5^2 + 4^2 + 6^2 = 25 + 16 + 36 = 77
d = Sqrt.(77) = 8.77 inch

2007-09-06 20:54:37 · answer #2 · answered by Christine P 5 · 1 0

box has the dimensions of 5 inches x 4 inches x 6 inches
a=5, b= 4, c=6

a^2 + b^2 = e^2

and

e^2 + c^2 = d^2

we have by substitution

a^2 + b^2 + c^2 = d^2

Thus, the square of the diagonal of a box is equal to the sum of the squares of the dimensions of the box.

d^2 = 5^2 + 4^2 + 6^2 = 25 + 16 + 36 = 77
d = Sqrt.(77) = 8.77 inch

2007-09-07 01:31:54 · answer #3 · answered by Aryan K 2 · 0 0

diagonal = sqr(5^2 + 4^2 + 6^2) = 8.775

2007-09-06 20:45:37 · answer #4 · answered by CPUcate 6 · 0 0

fedest.com, questions and answers