Mathematical Functions and Expressions set 14

Que.What is the output of the following code?
meansqr(NaN)

a. 0
b. NaN
c. Error
d. 1
Que.What is the output of the following code?
meanabs(1,2,-1)

a. 1.33
b. 1
c. 0
d. .666
Que.What is the output of the following code?
A=[1:3:7;2:3:8;3:3:9]; prod(A,1)

a. Error
b. 6 20 504
c. 620504
d. 28 80 162
Que.What is the output of the following code?
prod(1:NaN)

a. 0
b. 1
c. NaN
d. Error
Que.What is the output of the following code?
cumsum([1,2,3,4,NaN])

a. 1 3 6 10 NaN
b. NaN
c. 13610NaN
d. Error
Que.What is the output of the following code?
cumsum[NaN]

a. NaN
b. 0
c. Error due to NaN
d. Syntactical Error
Que.The product of a set of elements is always greater than it’s the cumulative sum.
a. True
b. False
c. May be True or False
d. Can’t say
Que.The function to find the R.M.S value is __________
a. sqrt(meansqr())
b. sqrt[meansqr[]]
c. sqrt(meansqr[])
d. sqrt[meansqr()]
Que.What is the output of the following code?
A=[1:3:7;2:3:8;3:3:9]; prod(A,2)’

a. 28 80 162
b. 2080162
c. Error
d. NaN
Que.Which function does cumulative summation of elements?
a. sumcum[]
b. sumcum()
c. cumsum[]
d. cumsum()