adplus-dvertising
frame-decoration

Question

What is the output of the following code?
syms pi;
p=2sin[pi]/cos[pi] + tan[3pi];

a.

0

b.

A value very close to 0

c.

Syntactical Error

d.

Error in the expression

Posted under MATLAB

Answer: (d).Error in the expression

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?