Computers and Technology, 12.02.2020 06:03 kitten9389
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) '(0.0 2.3 5.0))
-> 3.6
Write a function COUNT-NUMBER that counts the number of numbers that occur in a list. It should work like this:
-> (COUNT-NUMBER '(A 2.3 B 5 4.53 C F))
-> 3
Write a function NEW-LIST that takes a number as its argument and constructs a list of that length containing all Ts. For example,
-> (new-lit 5)
-> (T T T T T)
The Lisp function LENGTH counts the number of elements in the top level of a list. Write a function ALL-LENGTH of one argument that counts the number of atoms that occur in a list at all levels. Thus, the following lists will have the following ALL-LENGTHs.
(A B C) => 3
((A (B C) D (E F)) => 6
(NIL NIL (NIL NIL) NIL ) => 5
Answers: 3
Computers and Technology, 23.06.2019 15:20, headshotplayzcod
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
Computers and Technology, 23.06.2019 20:00, shadow6728g
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
Computers and Technology, 24.06.2019 20:30, jalenevoyles
Which key should you press to leave the cell as it originally was? a. delete b. cancel c. backspace d. enter
Answers: 1
Write a function DOT-PRODUCT that takes two lists, each list has three numbers (elements), and produ...
Biology, 25.02.2021 07:50
Mathematics, 25.02.2021 07:50
Mathematics, 25.02.2021 07:50
History, 25.02.2021 07:50