Solve the following ordinary differential equation using the
Solve the following ordinary differential equation using the mupad facility in Matlab
Solve the following ordinary differential equation using the mupad facility in Matlab y^n + y = sin tSolution
1. Type on Matlab console, the following
mupad
2. The MuPAD editor will appear.
3. Type on MuPAD editor the following
f:=y^n+y=sin(t)
4. To solve f, type on MuPAD
g:=float(solve(f,[y,t]))
This solves the function f and gives the output
This is the solution to the ODE.

