summaryrefslogtreecommitdiff
path: root/149/CH13/EX13.5/ques5.sce
blob: b62892aff6a750171a2426fe4345da5758b06129 (plain)
1
2
3
4
5
6
7
8
9
//ques5
clc
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);