Answer:
35
Step-by-step explanation:
40*3=120
120-85=35
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:
The given relation
is a function.
Step-by-step explanation:
A relation
is given.
It is required to determine whether the given relation is a function.
To determine whether the given function is a relation, identify the domain and range and then check whether the given relation is a function.
Step 1 of 1
The given relation is {(a, b),(c, d),(e, d)}.
The set of the first components of each ordered pair is called the domain.
From the relation, the domain is {a, c, e}.
The set of the second components of each ordered the range.
From the relation, the range is {b, d, d}.
The given relation is a function. But it is not a one-to-one function.