Peter Wittenberg - MATLAB Cody - MATLAB Central

Peter Wittenberg

327
Rank
7
Badges
4675
Score
1 – 50 of 675

Peter Wittenberg received Quiz Master badge for Solution 3844948

on 25 Nov 2020

Peter Wittenberg received Speed Demon badge for Solution 72619

on 31 Dec 2016

Peter Wittenberg submitted a Comment to Problem 313. Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side

There's a problem with the solution suite. For seed=12 and n=16, the proposed answer of 5, 12, 13 as a Pythagorean triple is indeed a good one. However, 9, 12, 15 is equally valid but not included as an answer. To avoid this, I would suggest changing the problem so that it requires finding the answer with the minimum Z^2 to avoid ambiguity.

on 2 Jan 2014

1 – 50 of 675
Go to top of page