Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

What is this program would look like?

1 view (last 30 days)
Alex Degaga
Alex Degaga on 1 Apr 2015
Edited: John D'Errico on 1 Apr 2015
The Pythagorean theorem states that a2 + b2 = c2 • Write a MATLAB program in a script file that finds all the combinations of triples a, b, and c that are positive integers all smaller or equal to 50 that satisfy the Pythagorean theorem. Display the results in a three-column table in which every row corresponds to one triple. The first three rows of the table are:
3 4 5
5 12 13
6 8 10
  1 Comment
John D'Errico
John D'Errico on 1 Apr 2015
Edited: John D'Errico on 1 Apr 2015
Which of the several answers to your homework problem were not acceptable the FIRST time you asked this identical question? Is it just that they did not give you sufficiently explicit code to do it for you?
Don't just keep asking the same question over and over again.
And DO your own homework.

Answers (0)

This question is closed.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!