1.

What happens if dsolve does not return any numerical solution?(a) The equations have no solution(b) The equations have a trivial solution(c) The equations have infinite no. of solutions(d) The equation has to be solve separatelyThe question was asked in an interview.My doubt is from Solving Equations topic in section MATLAB Basics of MATLAB

Answer»

The correct OPTION is (d) The equation has to be solve separately

For explanation: We have to solve the DIFFERENTIATION numerically. To do it in MATLAB, we need to use ode45 after CONVERTING the differential equation to a SYSTEM of first order differential equation.



Discussion

No Comment Found

Related InterviewSolutions