gistlib
main.msyms t y % Define symbolic variables dydt = t^2 + sin(t); % Define the differential equation ySol(t) = dsolve(diff(y) == dydt); % Solve the differential equation 215 chars4 lines
syms t y % Define symbolic variables dydt = t^2 + sin(t); % Define the differential equation ySol(t) = dsolve(diff(y) == dydt); % Solve the differential equation
gistlibby LogSnag