summaryrefslogtreecommitdiff
path: root/149/CH13/EX13.5/ques5.sce
blob: 68362bbae29ccfa826199f0a3271885de541e63e (plain)
1
2
3
4
5
6
7
8
9
10
//ques5
clc
syms x
disp('solution of the given linear differential equation is given by : ');
m=poly(0,'m');
f=m^2+5*m+6;
//for particular solution a=1
y=exp(x)/horner(f,1);
disp('y-');
disp(y);