find a pathagorean triplet for which
Answers
Dear, your question is incomplete....
But, here is how you can find it!
How to Form a Pythagorean Triplet
If the number is odd: Square the number N and then divide it by 2. Take the integer that is immediately before and after that number i.e. (N2/2 -0.5) and (N2/2 +0.5).
Pythagorean triplet= N, (N2/2 -0.5), (N2/2 +0.5)
Example: Take number N=3.
On squaring the number, we get 9.
Now take the half of it. 9/2= 4.5
The integer immediately before 4.5= 4; the integer immediately after 4.5= 5
Therefore, the triplet is 3, 4, 5.
If the number is even: Take the half of that number N and then square it.
Pythagorean triplet= N, (N/2)2-1, (N/2)2+1
Example: Take number N=8
Half of N=4.
Pythagorean triplet= 8, (42-1), (42+1) i.e. 8, 15, 17
Answer:
If the number is odd: Square the number N and then divide it by 2. Take the integer that is immediately before and after that number i.e. (N2/2 -0.5) and (N2/2 +0.5).
Pythagorean triplet= N, (N2/2 -0.5), (N2/2 +0.5)
Example: Take number N=3.
On squaring the number, we get 9.
Now take the half of it. 9/2= 4.5
The integer immediately before 4.5= 4; the integer immediately after 4.5= 5
Therefore, the triplet is 3, 4, 5.
If the number is even: Take the half of that number N and then square it.
Pythagorean triplet= N, (N/2)2-1, (N/2)2+1
Example: Take number N=8
Half of N=4.
Pythagorean triplet= 8, (42-1), (42+1) i.e. 8, 15, 17