What is pythagorean triplet
Answers
Answered by
3
Hey mate,
Good Morning :-)
Pythagoras triples are integer solution to the relation.
a2+b2=c2.
Some eminent mathematician even gave a formula to generate Pythagoras triplets.
In order to do so, use (m2−n2,2mn,m2+n2).
Clearly, (m2−n2)2+(2mn)2=(m2+n2)2.
If you plug in any positive integer values for m and n , you can generate all the possible Pythagoras triples from this relation.
Plug m = 2, n = 1. Then a=m2−n2=3, b=2mn=4, c=m2+n2=5
So, we get (3,4,5).
Plugging in m= 3 , n = 2, we get, a=m2−n2=5, b=2mn=12, c=m2+n2=13.
So, we get (5,12,13).
This way you can generate any pythagoras triple like this.
Hope this answer is helpful..
Have a cheerful day :-)
Answered by
0
Sides of right angled triangle
Similar questions