Question: d. (A B C D E F) 6. Write a function DOT PRODUCT that takes two lists, each list has three numbers (elements), and produces
d. (A B C D E F) 6. Write a function DOT PRODUCT that takes two lists, each list has three numbers (elements), and produces the dot product of the vectors that they represent. For example, -> DOT-PRODUCT (1.2 2.0 -0.2) 40.0 2.3 5.0 The answer for this question can be found in file DOT PRODUCTESP in the same directory. The key for designing a lisp function is using recursion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
