f(t,y)=3y
Intial Condition y(t)=0
when t=0
What is the solution when t=1
I dont want to solve it numercially, rather somthing like symbolic function.
I am not able to include a way to find y(t)
when t=1
syms y(t);
ode= diff(y,t) == 3*y;
cond= y(0) == 0;
ySol(t) = dsolve(ode,cond);
fplot(ySol)
I have solved this function numerically and need to compare it with the real solution this I am trying to find a method of doing this on Matlab