Question: Write a Haskell script with functions to compute: The area of a circle (just estimate pi) given the length of the radius, The square of

Write a Haskell script with functions to compute:

The area of a circle (just estimate pi) given the length of the radius,

The square of the length of a hypotenuse of a right triangle given the other two sides

Load the script into your ghci and use them to calculate the area of a circle (you choose the radius) and the length of a hypotenuse (you choose the side lengths)

Take a screen shot of your prompt window and submit.

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!