Cody

Problem 1550. Can I make a right triangle ?

Input(a) - is vector with any amount of values. Interpreted as legths of sides.

Output(b):

  • Is true if there are any 3 values that can be used to make a right triangle
  • Is false if u can't build a right triangle ;(

Solution Stats

52.56% Correct | 47.44% Incorrect
Last solution submitted on May 16, 2017

Problem Comments

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!