It will take 10000ms
For N = 100 input size
∴ N^2 = 10000 steps and the running time is 1.0 ms.
For N = 10000 input size
∴ N^2 = 100000000 steps are required and running time is
(100000000*1.0)/10000 = 10000 ms is the required running time for execution.
An algorithm is a procedure used for solving a problem or performing a computation. Algorithms act as an exact list of instructions that conduct specified actions step by step in either hardware- or software-based routines.
Learn, more about Algorithms here:
brainly.com/question/22984934
#SPJ4
Answer:
The right solution is "61.557 MJ". A further explanation is given below.
Explanation:
The given values are:
Force,
F = 306 N
Drive,
D = 125 miles,
i.e.,
= 201168
meters
As we know,
The work done will be:
= 
On substituting the given values, we get
= 
= 
On converting it in "MJ", we get
= 
= 
temperature rises ? specific heat capacity etc ...