What will be the output of the following code? [code]ilaplace(‘1/s’)[/code]

What will be the output of the following code?
Code:
ilaplace(‘1/s’)
A. Error
B. 1
C. u(t)
D. 0
 
Answer: a
Explanation: The output would’ve been 1, representing u(t) i.e. the step function. But the input has been given within ‘ ’ which leads to an error since the function is now represented as a string.
 

Tìm kiếm

Back
Top