Task 11

Task 11ΒΆ

deadline: 16/05/2021 23:59 CET

[0.75 points]: Solve the following ordinary differential equation,

\[ x^2 y^{\prime \prime} - 5 x y^{\prime} + 8 y = 0, \quad x \in \left[ 1, \, 2 \right], \quad y \left( 1 \right) = 0, \quad y \left( 2 \right) = 24. \]

using the shooting method with a partition of size \( N = 10 \) and print the vector of solution.

[0.25 points]: Plot the solution obtained by the shooting method as well as the analytical solution

\[ y \left( x \right) = 2 \left( x^4 - x^2 \right) \]

in the interval \( x \in [1, \, 2] \).

# add your code here