Que.What is the output of the following code?cumsum(1,2,-1)
|
a. 1 3 2 |
b. 2 |
c. Error due to input |
d. Error due to syntax |
Que.The sum function will return a NaN if any of the element in the input vector is NaN.
|
a. True |
b. False |
c. May be True or False |
d. Can’t say |
Que.The result of cumsum([1,2,3]) and sum([3,3]) are ____________
|
a. Same |
b. Different |
c. Absolute numbers |
d. Signed numbers |
Que.What is the output of the following code?syms a,k; symsum(a^k, 1, Inf)
|
a. Error |
b. -1/(a-1) -1 |
c. -1/(a-1) |
d. Inf |
Que.What is the output of the following code shown?syms a k; symsum(a^k, 0, Inf)
|
a. 1/1-a |
b. Inf |
c. Error due to Inf |
d. Error due to an unmentioned value of a |
Que.What is the output of the following code?q=0;syms p,q
|
a. q=0 |
b. pq=0 |
c. pq |
d. Error |
Que.What is the default variable while evaluating a transfer function?
|
a. s |
b. p |
c. z |
d. Any |
Que.What is the default variable while evaluating a Laplace transform?
|
a. s |
b. t |
c. Any |
d. l |
Que.The output of the following code islaplace(exp(-3*t),p)
|
a. Error due to p |
b. 1/(s+3) |
c. 1/(p+3) |
d. Error due to t |
Que.The output of the following code issolve(‘w+z=0’)
|
a. -z |
b. -w |
c. Error |
d. No such fuction |