//simplify 3a(a^2-4ab+4b^2)/6a(a^2+3ab-10b^2) clear; clc; close; //the factors 3a(a-2b) are common to numerator & denominator. mprintf("\n the fraction is :\n") string('(a-2b)/(2a(a+5b))')