Search for question
Question

Question # 2 Develop a user friendly code in MATLAB employing 4th order Rung Kutta Method to solve: The code should have the flexibility to accept input of V and F

matrix in any size. Test and verify you code by solving the following problems: {v} =[F(V)] a) ²y + 4y = 0 initial condition y(0) = 1 and y'(0) = 0 solve for f = 0 to 4 dt² Compare with exact solution y = cos 2t b) dt = V d=-g-dv|v| dt Initial velocity v = 40 m/s and m = 0.4kg and Ca = 0.52

Fig: 1