MATLAB: Solving ode with inital value

ode

disp('a) Solve DE with inital value')
disp('Dy/dt=(y/x)+(2x^3cosx^2)/y, y=(sqrt(pi))=0')
syms y(x)
[y]=dsolve(diff(y)==(y/x)+(2*x^3*cos*(x^2))/y, y(sqrt(pi))==0)
% plot
I keep getting an error, can anyone help me correct the input of the eqn into dsolve? thanks

Best Answer

There should not be a "*" between the "cos" and the "(x^2)"