What is the error in the following code? diff(‘x$^{87}$+86’,23)

Trang Esther

New member
What is the error in the following code?
diff(‘x$^{87}$+86’,23)
A. No error
B. Arguments as strings
C. 23 is not given within a pair of inverted commas
D. There is no command as diff
 
Answer: b
Explanation: The command diff will not yield a function after taking the function with a pair of inverted commands. It will give an empty array as an output. No argument in diff() should be given within strings.
 

Tìm kiếm

Back
Top