Question: Without using built in functions please Consider the boundary-value problem y - y' + 2y + cos x, 0 lessthanorequalto x lessthanorequalto pi/2 y(0) =
Consider the boundary-value problem y" - y' + 2y + cos x, 0 lessthanorequalto x lessthanorequalto pi/2 y(0) = -0.3, y (pi/2) = -0.1 with solution y(x) = - 1/10(sin x + 3 cos x) (a) Using RK4 only, design a MATLAB code to solve the boundary-value problem using linear shooting method with Delta x = pi/8; (b) Use your code to find the error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
