How many functions are there in the following mathematical relation? [code] p=sin(pi*(log(x))[/code]

Lê Minh

Member
How many functions are there in the following mathematical relation?
Code:
	p=sin(pi*(log(x))
A. 2
B. 3
C. 1
D. 0
 
Answer: a
Explanation: There are only 2 functions used to describe a meaningful relationship between p and x. They are the sin() and log(x). Now, the expression ‘pi*log(x)’ is not to be confused as a function since we have not created a function i.e. we have not made a self-containing block of statements with an algorithm to compute the value after multiplying pi with log(x). The ‘*’ operator is used directly to the expression does not serve as a function, it shows an operation. Hence there are only 2 functions.
 

Tìm kiếm

Back
Top