adplus-dvertising
frame-decoration

Question

Evaluate the expression:
a=9/1*5/1;  b=a*a/a*a; c=sind(30)+1/2;  d=1-c; e=a+b*c-d

a.

2045

b.

2070

c.

Error since sind() is a wrong function

d.

0

Posted under MATLAB

Answer: (b).2070

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Evaluate the expression:

Similar Questions

Discover Related MCQs

Q. What is the syntax to solve simultaneous equations easily?

Q. What is the difference between sqrt(10) and sqrt(sym(10))?

Q. The solve[] command can do which of the following things?

Q. A student has to find the solution of an equation cos(x)=1/2. She has to write the program such that exact values are shown at output. Which of the following codes would help her?

Q. What happens if dsolve does not return any numerical solution?

Q. If solve does not return any solution, what does it imply?

Q. Vectors depend upon brackets while scalars don’t.

Q. To see the sub-matrix with aᵢⱼ for 2<=i<=4 and 1<=j<=2 of a matrix a, of order 5*6, which code is used?

Q. Which code shows the use of ellipsis in MATLAB?

Q. What is the symbol used to evaluate the transpose of a vector?

Q. What is the advantage of MATLAB over other computing software with matrix dimensions?

Q. What is the function used to multiply a matrix, A, with itself n times?

Q. Which operator set is used for left and right division respectively?

Q. If A and B are two matrices, such that a./b=b.\a, what is concluded?

Q. If a./b=(b./a)ᵀ, what can be concluded about the matrices a and b?

Q. What is the difference between a[] and a{}?

Q. All matrices are vectors but all vectors are not matrices in MATLAB.

Q. If the dimensions of vectors don’t match, the plot command will always give an error.

Q. What is the name of a primary function?

Q. Predominantly, what are the two kinds of errors in MATLAB programs?