Primitive Pythagorean Triangles - Formulas and Visualization

A set of programs to generate and visualize all primitive Pythagorean triples using Euclid's and six other derived formulas.
13 download
Aggiornato 3 ott 2022

Visualizza la licenza

A set of programs using Euclid's and seven other derived formulas (P2 to P8) to generate and visualize all primitive Pythagorean triples. No for-loops or if-then statements are used in the programs to generate the triples except for visualization purposes. The formulas were created following visual observations of the way Euclid's Pyhtogrean triples are geometrically distributed and the relationships among them.
Example (image 10MB):
Example (image 18MB)
Example (pdf):

Cita come

Ismael Abdulrahman (2024). Primitive Pythagorean Triangles - Formulas and Visualization (https://www.mathworks.com/matlabcentral/fileexchange/117950-primitive-pythagorean-triangles-formulas-and-visualization), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2022b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.3.13

Adding a new program (P8) and changing names accordingly.

1.3.12

Adding downloading links.

1.3.11

Minor

1.3.10

Adding a new program (P8_All2_Program1a.m) to generate a large set of triples with high resolution (a 13MB image file is attached).

1.3.9

Fixing program names.

1.3.8

Minor

1.3.7

Minor update

1.3.6

Minor update

1.3.5

Minor changes

1.3.4

Adding a new program (8_ALL_Program1a.m) to dynamically plot all primitive triples and label their three sides.

1.3.3

Minor

1.3.2

Minor changes.

1.3.1

New plotting figures are added.

1.3.0

New formulas and programs are added.

1.2.2

Minor change

1.2.1

Minor change

1.2

A new program is added.

1.1

Euclid's formula is added.

1.0