You will need to use MATLAB to answer part (c) of this question. Beau, Julian and Brad want to use the shooting method t
Posted: Mon May 02, 2022 12:42 pm
You will need to use MATLAB to answer part (c) of this question. Beau, Julian and Brad want to use the shooting method to solve the boundary value problem (BVP) ty' = –y' for t € [2,5), with y(2) = 3 and y(5) = 7.
(c) [3 marks] Beau solves this IVP with q = 1 using the MATLAB function ode45 with the default tolerance, to obtain the approximation y(5; 1) = Number Give your answer to at least 4 sigificant figures. Julian solves this IVP with q = 4 using the MATLAB function ode45 with the default tolerance, to obtain the approximation y(5; 4) – Number Give your answer to at least 4 sigificant figures. Brad uses linear interpolation from the results of Beau and Julian to obtain a new value for q: q= Number Give your answer to at least 4 significant figures. Continuing this way will lead to a value of q satisfying (+).
(c) [3 marks] Beau solves this IVP with q = 1 using the MATLAB function ode45 with the default tolerance, to obtain the approximation y(5; 1) = Number Give your answer to at least 4 sigificant figures. Julian solves this IVP with q = 4 using the MATLAB function ode45 with the default tolerance, to obtain the approximation y(5; 4) – Number Give your answer to at least 4 sigificant figures. Brad uses linear interpolation from the results of Beau and Julian to obtain a new value for q: q= Number Give your answer to at least 4 significant figures. Continuing this way will lead to a value of q satisfying (+).