Đ Đức Linh New member Sep 19, 2021 #1 The output for diff(p$^{2}$,q) is _______ A. 0 B. 2*p C. 2 dp/dq D. Error
H Huỳnh Hiền New member Sep 19, 2021 #2 Answer: a Explanation: We are differentiating the function ‘p$^{2}$’ with respect to q. Hence the value will be 0. The 2$^{nd}$ argument in the diff() command is the variable, with respect to which- we differentiate our function. Output: 2*p Upvote 0 Downvote
Answer: a Explanation: We are differentiating the function ‘p$^{2}$’ with respect to q. Hence the value will be 0. The 2$^{nd}$ argument in the diff() command is the variable, with respect to which- we differentiate our function. Output: 2*p