Section A.1Linear Ordinary Differential EquationsA171Plotting the SolutionFirst we need to learn to extract the solution from the output. Here is how it is done. First, solve the problem and call the output solution:solutionDSolvey’’xyx, y00, y’01, yx,xyx12x12xExtract the solution y(x) as follows:yx_yx. solution112x12xNow you can plot the solution:
This is the end of the preview.
access the rest of the document.