Question: SML programming (iii) Code a function multPoly : real list -> real list -> real list that multiplies two polynomials. This works like long multiplication
SML programming

(iii) Code a function multPoly : real list -> real list -> real list that multiplies two polynomials. This works like long multiplication of decimal representations natural numbers, except that you do not have to worry about carries.) - multPoly [2.0,3.0,5.0] [7.0,9.0] = [14.0,39.0,62.0,45.0]; val it = [14.0,39.0,62.0,45.0] : real list (iii) Code a function multPoly : real list -> real list -> real list that multiplies two polynomials. This works like long multiplication of decimal representations natural numbers, except that you do not have to worry about carries.) - multPoly [2.0,3.0,5.0] [7.0,9.0] = [14.0,39.0,62.0,45.0]; val it = [14.0,39.0,62.0,45.0] : real list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
