What is the output of the following code? [code]P=tan90[/code]

Khánh Đoan

New member
What is the output of the following code?
Code:
P=tan90
A. Inf
B. P = Inf
C. P = -1.9952
D. Undefined function or variable ‘tan90’
 
Answer: d
Explanation: To evaluate numerical value of any trigonometric expression, the angles should be placed within a pair of parentheses. That’s why the above code generates an output.
 

Tìm kiếm

Back
Top