blob: 3506d68784fe3c851c256171d7e94c66fcaaba8b (
plain)
1
2
3
4
5
6
7
8
9
10
|
//6*x^2+17*x-3
clear;
clc;
close;
x=poly(0,'x');
p=6*x^2+17*x-3;
factors(p);
ans(2)=ans(2)*6;//multiply by 6 the p1 factors to get the original factors of p
disp(ans(1),ans(2),"the factors of 6*x^2+17*x-3 are")
|