The output of the following code will be _____________ [code]syms t; dsolve(D(y,t)==2*t)[/code]

Mỹ An

New member
The output of the following code will be _____________
Code:
syms t; dsolve(D(y,t)==2*t)
A. Error
B. t$^{2}$
C. t
D. t$^{2}$+C
 
Answer: a
Explanation: The argument with dsolve() has D(y,t) will make no sense to the diff() command. Hence there will be an error, due the undefined variable D. If it was diff(y,t), the answer would have been t$^{2}$+C.
 

Tìm kiếm

Back
Top