Answer:
Step-by-step explanation:
Count pairs (a, b) whose sum of squares is N (a^2 + b^2 = N)
Given a number N, the task is to count all ‘a’ and ‘b’ that satisfy the condition a^2 + b^2 = N.
Note:- (a, b) and (b, a) are to be considered as two different pairs and (a, a) is also valid and to be considered only one time.
Examples:
Input: N = 10
Output: 2
1^2 + 3^2 = 9
3^2 + 1^2 = 9
Input: N = 8
Output: 1
2^2 + 2^2 = 8
Answer:
Pie= 3.14
Step-by-step explanation:
The enclosing boundary of a curved geometric figure, especially a circle.The circumference = π x the diameter of the circle (Pi multiplied by the diameter of the circle). Simply divide the circumference by π and you will have the length of the diameter. The diameter is just the radius times two, so divide the diameter by two and you will have the radius of the circle!
Answer:
6
Step-by-step explanation:
Size times flavor. 3 times 2 = 6