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
The total purchase price of the watch is: $9,300
$8,000 + (0.06 × $8,000) + (0.10 × 8,000) + $20
$8,000 + $480 + $800 + $20
I don’t know what your asking
<span>it depends on what type of format is used.</span>
Answer:
Given, side of an equilateral triangle is 2√3 cm. Hence, the area of an equilateral triangle is 5.196 cm2.