What is the output of the following code? [code]syms t; stip([1],[1 0 0])[/code]

KellyPoima

New member
What is the output of the following code?
Code:
syms t; 
stip([1],[1 0 0])
A. A step function
B. A ramp function
C. Logical error
D. Spelling error
 
Answer: d
Explanation: There is a spelling error in the above code. The real command is ‘step’ but it has been misspelled as ‘stip’ which results in an error. If there was no error, the answer would’ve been a parabola.
 

Tìm kiếm

Back
Top