{"id":8360,"date":"2018-05-31T23:45:46","date_gmt":"2018-05-31T23:45:46","guid":{"rendered":"https:\/\/assignment.essayshark.com\/blog\/?p=8360"},"modified":"2023-01-04T12:10:19","modified_gmt":"2023-01-04T12:10:19","slug":"solve-ode-matlab-assignment-example","status":"publish","type":"post","link":"https:\/\/assignmentshark.com\/blog\/solve-ode-matlab-assignment-example\/","title":{"rendered":"Solve Ode: MATLAB Assignment Example"},"content":{"rendered":"<p><b>Task:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Solve the following second order linear homogeneous ODE using Matlab:<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">y<\/span><\/i><span style=\"font-weight: 400;\">&#8221; +4<\/span><i><span style=\"font-weight: 400;\"> y<\/span><\/i><span style=\"font-weight: 400;\">&#8216; \u00a0&#8211; 3<\/span><i><span style=\"font-weight: 400;\">y<\/span><\/i> <span style=\"font-weight: 400;\">= <\/span><span style=\"font-weight: 400;\">0,<\/span><\/p>\n<p><i><span style=\"font-weight: 400;\">y<\/span><\/i><span style=\"font-weight: 400;\">(0) =<\/span> <span style=\"font-weight: 400;\">1, <\/span><i><span style=\"font-weight: 400;\">y<\/span><\/i><span style=\"font-weight: 400;\">&#8216;(0) =<\/span> <span style=\"font-weight: 400;\"> 0<\/span><\/p>\n<p><!--more--><\/p>\n<p><b>Solution:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The characteristic polynomial has the following roots:<\/span><\/p>\n<p><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8372 alignleft\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_1.png\" alt=\"\" width=\"245\" height=\"227\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_1.png 312w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_1-300x279.png 300w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">The general solution of the ODE is then:<\/span><span style=\"font-weight: 400;\">\u00a0 \u00a0<a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8370 alignleft\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_2.png\" alt=\"\" width=\"417\" height=\"209\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_2.png 551w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_2-300x150.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">We can now solve for the unknown coefficients c1, c2:<\/span><br \/>\n<span style=\"font-weight: 400;\"><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8368 alignleft\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_3.png\" alt=\"\" width=\"263\" height=\"225\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_3.png 355w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_3-300x257.png 300w\" sizes=\"auto, (max-width: 263px) 100vw, 263px\" \/><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">The solution is found by substituting the correct values for c1 and c2:<\/span><\/p>\n<p><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8366 size-full\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_4.png\" alt=\"\" width=\"842\" height=\"272\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_4.png 842w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_4-300x97.png 300w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_4-768x248.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Here is a better view of the solution:<\/span><\/p>\n<p><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8364 alignleft\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_5.png\" alt=\"\" width=\"376\" height=\"363\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_5.png 484w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_5-300x290.png 300w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Now we can plot the solution:<\/span><\/p>\n<p><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8374 \" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_7.jpg\" alt=\"\" width=\"192\" height=\"27\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_7.jpg 319w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_7-300x42.jpg 300w\" sizes=\"auto, (max-width: 192px) 100vw, 192px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8376\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_8.jpg\" alt=\"\" width=\"172\" height=\"27\" \/><\/a><\/p>\n<p><a href=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8362 size-full\" src=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_6.jpg\" alt=\"\" width=\"417\" height=\"312\" srcset=\"https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_6.jpg 417w, https:\/\/assignmentshark.com\/blog\/wp-content\/uploads\/2018\/03\/math5_6-300x224.jpg 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/p>\n<h2>MATLAB Assignment Assistance from the Experts<\/h2>\n<blockquote><p><i><span style=\"font-weight: 400;\">If you need to <\/span><\/i><i>solve ODE MATLAB<\/i><i><span style=\"font-weight: 400;\">, 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 AssignmentShark. In this example you can see how you can solve mathematical functions with the help of the application, and the power of MATLAB doesn\u2019t stop there. If you have problems with your MATHLAB homework, ask for <a href=\"https:\/\/assignmentshark.com\/freelance-technical-writing-jobs.html\" target=\"_blank\" rel=\"noopener\">paid writing assignments<\/a> help with on our site!<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">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.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">Also don\u2019t 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 get <a href=\"https:\/\/assignmentshark.com\/\" target=\"_blank\" rel=\"noopener\">help with assignment<\/a> 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.<\/span><\/i><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Task: Solve the following second order linear homogeneous ODE using Matlab: y&#8221; +4 y&#8216; \u00a0&#8211; 3y = 0, y(0) = 1, y&#8216;(0) = 0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,35],"tags":[],"class_list":["post-8360","post","type-post","status-publish","format-standard","hentry","category-math","category-samples"],"_links":{"self":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts\/8360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/comments?post=8360"}],"version-history":[{"count":11,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts\/8360\/revisions"}],"predecessor-version":[{"id":13259,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts\/8360\/revisions\/13259"}],"wp:attachment":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/media?parent=8360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/categories?post=8360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/tags?post=8360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}