blob: 019a3e1573d698ce1ac10ab9d8647cd8af66fecd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//a^2-8*a*b-48*b^2
clear;
clc;
close;
a=poly(0,'a');
p=a^2-8*a-48;
factors(p)
mprintf( "the second letter b will appear in 1st term of each factor")
ans(1)="(4b+a)";
ans(2)="(-12b+a)"
|