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

Learn moreOpportunities for recent engineering grads.

Apply TodayCalculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of length b.

Image courtesy of Wikipedia.

477 correct solutions
67 incorrect solutions

Last solution submitted on Apr 21, 2016

1 player likes this problem

1 Comment

Jon
on 3 Feb 2014

regexp cheat

1 Comment

Tanya Morton
on 29 Nov 2013

Kudos for finding this solution - it did indeed meet all the test cases, but wasn't quite what I had in mind! I will add a new test.

1 Comment