% Solve the equation \frac{dw}{dt}=w\left(t\right) with initial condition w=0\ldotp 1 at time t=0
%

syms t real
syms w(t)
diffeq = diff(w(t),t) == w(t)    % Define the differential equation
IC = w(0)==0.1    % Specify the initial condition
w(t) = dsolve(diffeq,IC,symvar(w(t)))   % Solve