Correct option is (a) 0
The 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*