Solve Ode: MATLAB Assignment Example

Task:

Solve the following second order linear homogeneous ODE using Matlab:

y” +4 y‘  – 3y = 0,

y(0) = 1, y‘(0) = 0

Solution:

The characteristic polynomial has the following roots:

 

 

 

 

 

 

 

The general solution of the ODE is then:   

 

 

 

 

 

 

We can now solve for the unknown coefficients c1, c2:

 

 

 

 

 

 

 

The solution is found by substituting the correct values for c1 and c2:

 

Here is a better view of the solution:

 

 

 

 

 

 

 

 

 

 

 

Now we can plot the solution:

If you need to solve ODE MATLAB, check the example of the solution to second order linear homogeneous ODE with the help of MATLAB which was described by one of our experts from Assignment.Essayshark. In this example you can see how you can solve mathematical functions with the help of the application, and the power of MATLAB doesn’t stop there. If you have problems with your MATHLAB homework, ask for help on our site!

Our MATLAB experts take care to deliver the solution in an understandable and clear format. Every expert has passed a list of tests to make sure that their professional and academic skills correspond with the information in their profiles, so be confident that your order will be handled by a person who has a good understanding of your topic. All solutions are made from scratch and individually for your project. We guarantee that all of our orders are original and non-plagiarized.

Also don’t forget to check out our other sample assignments which can help you in other disciplines. If you have enjoyed reading our samples and their quality has satisfied you, use the opportunity to order one on our site! Submit your assignment by completing the order form on this page and add details about the task or project that should be done.

Leave a Reply

Your email address will not be published. Required fields are marked *

Customer testimonials

Submit your instructions to the experts without charge.