You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Pythagorean theorem is a^2 + b^2 = c^2. w and h are bad choices and confused me as they appear to represent height and width, not the two sides of a right triangle.
So I suggest that you change the exercise to expect this, to be clearer:
diagonalab=sqrt(a * a + b * b)
The text was updated successfully, but these errors were encountered:
The Pythagorean theorem is
a^2 + b^2 = c^2
.w
andh
are bad choices and confused me as they appear to represent height and width, not the two sides of a right triangle.So I suggest that you change the exercise to expect this, to be clearer:
The text was updated successfully, but these errors were encountered: