To write: a program for Pythagorean triples, what did it list, and which of these are primitive Pythagorean triples.
Answer to Problem 1E
Pythagorean triples describes the three integer side is the lengths of a right
The primitive Pythagorean triples with hypotenuse less than or equal to 10:
Explanation of Solution
Concept used:Use different syntax that is used to PRINT, FOR LOOP, IF condition and do other operations to print Pythagorean triples, while running the program.
A Pythagorean triples are the three positive integers
program to print the Pythagorean triples:
10 CLC
20 INT
30 FLOAT
40 FOR
50 FOR
60
70 IF
80 PRINT “The Pythagorean triples are:”,
90 END
Here line 20 enters only integer numbers and line 30 enters float value. Line 40 and 50 runs the values of
Output:
The Pythagorean triples are:
Conclusion:
It describes the three integer side is the lengths of a right triangle.
The primitive Pythagorean triples with hypotenuse less than or equal to 10:
Chapter 8 Solutions
McDougal Littell Jurgensen Geometry: Student Edition Geometry
Additional Math Textbook Solutions
A First Course in Probability (10th Edition)
University Calculus: Early Transcendentals (4th Edition)
Introductory Statistics
Basic Business Statistics, Student Value Edition
Algebra and Trigonometry (6th Edition)
Pre-Algebra Student Edition
- Elementary Geometry For College Students, 7eGeometryISBN:9781337614085Author:Alexander, Daniel C.; Koeberlein, Geralyn M.Publisher:Cengage,Elementary Geometry for College StudentsGeometryISBN:9781285195698Author:Daniel C. Alexander, Geralyn M. KoeberleinPublisher:Cengage Learning