A) Consider the programming language Lisp. Write a Lisp function that calculates the following function for any given x and y. functionresult = 3 * ( x – 4 ) + (5 * y)3* 2 Include the entire function in your answer, along with a few sentences about how you developed your function. What did you try that did not work? Why did you try what you tried? B) Consider the list: ((name (number1 nation)) (MusicPurchased Norway) (Pressfreedom Norway) (NobelLiterWinners France) (MovieTixHighPrices Switzerland)) write a function to access the NobelLiterWinners value using car and cdr.2 (Your function should work on any property list with this set of properties in this order.)
A) Consider the
B) Consider the list:
((name (number1 nation)) (MusicPurchased Norway) (Pressfreedom Norway) (NobelLiterWinners France) (MovieTixHighPrices Switzerland)) write a function to access the NobelLiterWinners value using car and cdr.2 (Your function should work on any property list with this set of properties in this order.)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images