[Solved]-Trying Solve Original Differential Equation Graph Function Q37288060
I am trying
to solve a originaldifferential equation and graph the function
Error using odearguments (line 95) @lT, P)-9. 8-.00047.*V.#ABS (V) returns a vector of length 51281, but the length of initial conditions vector is 2. The vector returned by @(T,P)-9.8-.00047.*V.#ABS (V) and the initial conditions vector must have the same number of elements. Error in ode45 (Line 115) odearguments (FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin) Error in jakeyyy (line 8) It, Pode45 (@(t, P)-9.8-.00047.*.*abs (v), tspan, PO) -X_prime -v_prime-9.8 .00047.*v.abs (v) [x-prime ; v-prime] dPdt vO0; tspan = [0 300]; It, Pode45 (@(t, P) -9.8 x = P( : , 1 ) ; v= P( : , 2 ) ; .00047.*v.*abs (v), tspan, PO) 10 – figure 12 plot (t,x) 13 14 – xlabel(‘t’, ‘Fontsize’, 18), ylabel (‘x’, ‘FontSize’,18) title (‘Solution to x. .Fontsize’, 18) – figure 15 16 – 18 – plot (t,v) xlabel(‘t, ‘Fontsize’,18), ylabel ‘v’, ‘Fontsize’,18) title( ‘Solution to y, ‘Fontsize’,18) Show transcribed image text Error using odearguments (line 95) @lT, P)-9. 8-.00047.*V.#ABS (V) returns a vector of length 51281, but the length of initial conditions vector is 2. The vector returned by @(T,P)-9.8-.00047.*V.#ABS (V) and the initial conditions vector must have the same number of elements. Error in ode45 (Line 115) odearguments (FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin) Error in jakeyyy (line 8) It, Pode45 (@(t, P)-9.8-.00047.*.*abs (v), tspan, PO)
-X_prime -v_prime-9.8 .00047.*v.abs (v) [x-prime ; v-prime] dPdt vO0; tspan = [0 300]; It, Pode45 (@(t, P) -9.8 x = P( : , 1 ) ; v= P( : , 2 ) ; .00047.*v.*abs (v), tspan, PO) 10 – figure 12 plot (t,x) 13 14 – xlabel(‘t’, ‘Fontsize’, 18), ylabel (‘x’, ‘FontSize’,18) title (‘Solution to x. .Fontsize’, 18) – figure 15 16 – 18 – plot (t,v) xlabel(‘t, ‘Fontsize’,18), ylabel ‘v’, ‘Fontsize’,18) title( ‘Solution to y, ‘Fontsize’,18)
Expert Answer
Answer to I am trying to solve a original differential equation and graph the function… . . .
OR

