Şekil 1.4 de gösterilen ve bir dik kenarı 12cm ve diğer dik kenarı 16cm olan bir üçgenin üçüncü kenarının (hipotenüs) uzunluğunu hesaplayınız.
Pitagoras teoremini kullanarak hipotenüsü şu şekilde hesaplayabiliriz: 2 2 c a b MATLAB ile hipotenüsü hesaplarsak
>> c = sqrt(12*12 + 16*16) c = 20 >>
olarak bulunur.
Pitagoras teoremini kullanarak hipotenüsü şu şekilde hesaplayabiliriz: 2 2 c a b MATLAB ile hipotenüsü hesaplarsak
>> c = sqrt(12*12 + 16*16) c = 20 >>
olarak bulunur.