Solving higher order DE
clc;
clear all;
% Define the differential equation
syms y(x);
eqn=input(' Enter the differential equation')
yg= simplify( dsolve(eqn))
Solving higher order DE with initial condition
clc;
clear all;
close all;
% Define the differential equation
syms y(x);
eqn=input('enter the differential equation')
Dy = diff(y,x);
cond=input('Enter the Initial Condition')
yg= simplify( dsolve(eqn))
yp = simplify(dsolve(eqn,cond))
ezplot(yp)
Solving higher order ode using boundary value condition
clc;
clear all;
close all;
% Define the differential equation
syms y(x);
eqn=input('enter the differential equation')
cond=input('Enter the Boundary Condition')
yg= simplify( dsolve(eqn))
yp = simplify(dsolve(eqn,cond))
ezplot(yp)