adplus-dvertising
frame-decoration

Question

What will be the output of the following code?
syms x;diff(sin(x)\x²)

a.

(2*x)/sin(x) – (x²*cos(x))/sin(x)²

b.

cos(x)/x² – (2*sin(x))/x³

c.

x²*cos(x) + 2*x*sin(x)

d.

Error

Answer: (a).(2*x)/sin(x) – (x²*cos(x))/sin(x)²

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following code?

Similar Questions

Discover Related MCQs

Q. The output for diff(p²,q) is _______

Q. What is the nature of ode45 solver?

Q. Ordinary differential equations having initial values ____________

Q. The current characteristics of RC networks are better analyzed by Laplace than differentiation methods.

Q. While solving a differential equation, MATLAB will show us the ___________

Q. An example of a function whose derivative (any order) with respect to x is never 0, in MATLAB, is _______

Q. The method of differentiation in MATLAB is pertinent for getting __________

Q. The ode 23 solver is for higher accuracy.

Q. The ode45 takes the function as ___________

Q. There are 7 ODE solvers in MATLAB.

Q. The int() function gives the __________

Q. What will be the command to find the current through a 1H inductor (no initial current) whose voltage changes by v=t²?

Q. The command quad() cannot do ______ integrals.

Q. The code quad(‘x.^2’,-3,2) is same as ___________

Q. The capacitor voltage due to a current of i=t⁴ with v(0+)=3 is found from using _________

Q. The accuracy of quad() is ___________

Q. Double integration of a function can be done by using the _____ command.

Q. How will ∫eˣ⁄x look like, in MATLAB?

Q. The class of the result of an indefinite integration is always _____________

Q. The quad command cannot do ______________