How to solve problem problem using computation in haskall


Problem:

Question 1- Write a function in Haskall that uses list comprehensions to generate a list of lists that works like this: makeList 3 == [[1],[1,2],[1,2,3]] makeList 5 == [[1],[1,2],[1,2,3],[1,2,3,4],[1,2,3,4,5]] makeList (-2) == []

Question 2- Solve the following problem using computation in Haskall . What is the height (in a whole number of meters) of the shortest building that you could drop a ball from such that it would take at least 5 seconds to hit the ground? The equations for a falling object can be found here.

Show your calculations, but you do not need to write out any explanation.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: How to solve problem problem using computation in haskall
Reference No:- TGS0893824

Expected delivery within 24 Hours