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

SML programming (iii) Code a function multPoly : real list -> real

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!