%file name - first_order_linear_differential_equations.m syms y(z); ode = diff(y,x) == 2*x; % define the differential equation cond = y(0) == 3; %initial condition ySol(x) = dsolve(ode,cond); % run the programe % type the ySol(x) in the command window and ENTER %you get the answer