What is the output of the following code? [code]syms t; laplace(exp(-3*t),y)[/code]

Minh Tung

New member
What is the output of the following code?
Code:
syms t; laplace(exp(-3*t),y)
A. Error
B. 1/(3+s)
C. 1/(3+y)
D. 1/(3+js)
 
Answer: a
Explanation: y hasn’t been defined as symbolic. The output of the laplace transform won’t be derived since their will be an error. If we specify a desired variable, we have to declare it as symbolic before giving it as an input to our laplace command.
 

Tìm kiếm

Back
Top