1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
irga5000 [103]
3 years ago
7

1. [2 points] Write a function to compute the volume of a sphere, given its radius. 2. [2 points] Write a recursive function to

raise a number to a power. 3. [2 points] The implementation of the function maxlist below generally manages to find the largest element in a list of integers, but fails if all are negative. Fix it by adding one line. mymax a b | a > b = a | b > a = b | otherwise = a maxlist [] = 0 maxlist (head:tail) = mymax head (maxlist tail) 4. [2 points] Use the built-in function zipWith to write a function wsum that adds up two lists, while double-weighting the elements of the first list: > wsum [2,4] [3,5] [7, 13] > wsum [1, 1, 1, 1] [1, 1, 1, 1] [3, 3, 3, 3] 5. [2 points] Write an expression to compute the sum of all the natural numbers less than one thousand that are multiples of 3 or 5.
Computers and Technology
1 answer:
pshichka [43]3 years ago
4 0

Answer:

How to write Python Program to find Volume and Surface area of Sphere with example. Before we step into the Python Program to find Volume and Surface Area of Sphere, Let see the definitions and formulas

Surface Area of Sphere

A Sphere looks like a basketball or we can say the three-dimensional view of a circle. If we know the radius of the Sphere then we can calculate the Surface Area of Sphere using formula:

Explanation:

You might be interested in
Given f(x) = -2x2 + 5x - 1 and g(x) = 3x + 4 determine a simplified
lukranit [14]

Answer:

-6x^4 + 7x^3 + 17x^2 -4x

Explanation:

( f x g )( x )

Substitute

[( -2x^2 + 5x -1 )( 3x + 4 )]( x )

Use the Distributive Property

[-2x^2( 3x) + 5x( 3x) - 1( 3x) -2x^2( 4) + 5x (4) -1 (4)] (x)

Simplify

( -6x^3 + 7x^2 + 17x -4)(x)

Distributive Property

-6x^4 + 7x^3 + 17x^2 -4x

7 0
4 years ago
The pc card and cardbus devices are being replaced by what technology?
Ronch [10]
They are replaced by ExpressCard

3 0
3 years ago
During what stage of problem solving is information gathered in order to see if the plan produced the intended outcome?
Margarita [4]

Answer:

evaluation of the results

8 0
3 years ago
What questions do they ask for the 08.03 Discussion- Based Assesment in Drivers Ed?? Thanks.
mel-nik [20]

When should my headlights be turned on?

Why shouldn't one take medication before driving?

Why must you use a turn signal?

I'm not sure about that last one because I forgot but I think its right.

6 0
4 years ago
You wish to use a file system that creates a record or log of to-be-committed changes in the system so that if the system crashe
Dmitry [639]

Answer:

Journaling file system

Explanation:

A "file system" allows the control of data storage and retrieval.

The "Journaling file system" is a type of file system that records the<u> to-be committed changes in the computer.</u> This can track both of the <em>data stored</em> and the <em>related metadata</em>. This kind of data structure is then referred to as a "journal." So, this means that if the system crashes or a power failure happens, <u>there is a lesser chance for the file system to be corrupted</u>. It can also recover <em>gracefully or even more quickly.</em>

So, this explains the answer.

5 0
4 years ago
Other questions:
  • What are color highlights?
    8·2 answers
  • Which of the following are common problems experienced with software applications?
    15·1 answer
  • Transistors contain a huge number of integrated circuits <br><br> a. true or <br> b. false
    5·1 answer
  • What are the advantages of AI?????
    9·1 answer
  • Minerals can form deep inside Earth’s crust by
    13·1 answer
  • When you touch a hot stove, along which pathway will the impulses travel and what is the final destination in the cns?
    12·1 answer
  • the term that is used to describe how many bits are used in each pixel to show the number of colours used
    11·1 answer
  • Give two reasons you should be aware of your computer's system components and their characteristics.
    10·1 answer
  • Use ordinary pipes to implement an inter-process communication scheme for message passing between processes. Assume that there a
    12·1 answer
  • We can save our data peremently on a
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!