summaryrefslogtreecommitdiff
path: root/1322/CH14/EX14.5/102ex3.sce
blob: 1d48e66ee10144068e7c07008b06348d220e65e2 (plain)
1
2
3
4
5
6
7
8
9

//factors of ab-5a-3b+15
clear;
clc;
close;
//by arrangement into suitable pairs,
mprintf("(ab-5a)-(3b-15) => a(b-5)-3(b-5)")
mprintf("\n the factors are: \n")
val=string('(b-5)(a-3)')