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 t

Solution

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.

Solve the following ordinary differential equation using the mupad facility in Matlab Solve the following ordinary differential equation using the mupad facilit

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site