Given vector x is made array with n= 10 elements, the overall computation task to evaluate forward, backward and central differences is given by the following equations,
dt/dx = f(x+h)-f(x)/h (forward difference)
dt/dx = f(x)-f(x-h)/h (backward difference)
dt/dx = f(x+h)-f(x-h)/h (central difference).
Given the number of iterations (m = 3) to compute f(x+h), f(x) and f(x-h) and time taken to update the array element is given as x = 0.02 s, evaluate the following.
Describe the scenario by sketching program process flow and compute the sequential execution time.



Answer :

Other Questions