adplus-dvertising
frame-decoration

Question

Which code would you use to find the value of the function f?
f(x)=sin(x) + cos (x) + tan (x) at x = π/4

a.

sin(45)+cos(45)+tan(45)

b.

sin(pi/4)+cos(pi/4)+tan(pi/4)

c.

sin(45®)+cos(45®)+sin(45®)

d.

sind(45)+cosd(45)+tand(45)

Posted under MATLAB

Answer: (d).sind(45)+cosd(45)+tand(45)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which code would you use to find the value of the function f?

Similar Questions

Discover Related MCQs

Q. If the program demands evaluation of multiple, only decimal, values of the same function, what is the better way amongst the following?

Q. What are persistent variables?

Q. Variables need to have same name while being passed from the primary function to the sub-function.

Q. Which command can be used for single step execution in debugging mode?

Q. How do we access a global variable in nested functions?

Q. How does MATLAB help in passing function arguments?

Q. Which line is treated as H1 line?

Q. What are the functions to see the graph of a continuous and a discrete function?

Q. If we want to plot matrix arguments, which of the following gets plotted?

Q. To bring the scale of each axis to logarithmically spaced, the student entered ‘semilogx()’. What really happened?

Q. After trying to plot a pie-chart, the student finds that the function he used is rose(). What is the nature of data used by the student if an output graph is generated?

Q. To place a text on the plot using a mouse, the command used is _________

Q. What is the condition on x in bar(x,y)?

Q. If we put bar(x,y,1.2), we will get _____ bars.

Q. A student has to plot a graph of f(x)=t and g(y)=t in the same graph, with t as a parameter. The function he uses is ____

Q. To exhibit time-series or spatial-series data, what kind of diagrams are suitable?

Q. What is the difference between primary and secondary data in statistics?

Q. The nature of data while using pie plots is ___________ data.

Q. What would you use to show comparisons of profit of 3 industries over 3 quarters?

Q. What is the difference between stem plot and histogram plot?