Problem 1
a^2+b^2 = 25^2+20^2 = 225+400 = 625
c^2 = 25^2 = 625
We get the same output of 625.
This shows that a^2+b^2 = c^2 is true for (a,b,c) = (15,20,25). We have a pythagorean triple and this is a right triangle. This is also scalene as all three sides are different lengths.
<h3>Answer: Right scalene triangle</h3>
=======================================
Problem 2
a^2+b^2 = 3^2+3^2 = 18
while c^2 = 1^2 = 1
So a^2+b^2 = c^2 is not a true equation for this a,b,c set of values. We do not have a right triangle. Instead we have an acute triangle based on these rules below
- If a^2+b^2 = c^2, then we have a right triangle
- If a^2+b^2 > c^2, then we have an acute triangle
- If a^2+b^2 < c^2, then we have an obtuse triangle
We see that we have the form a^2+b^2 > c^2 since 18 > 1.
This acute triangle is also isosceles because a = b.
<h3>Answer: Isosceles acute triangle</h3>