Consider a velocity sine wave with a period of T = 0.5 seconds,amplitude of v0 = 10 cm/s, and duration of 4 seconds. Create anndarray t for time and compute the velocity at each value of t inndarray v. The ndarray t is defined on interval [0,4] with dt =0.01 seconds. Next, compute, the acceleration at each value of tfrom the velocity time history data and store in a new ndarray a.Use the forward difference approximation for this computation. Fort = 0, set a = 2*pi*v0/T. Output ndarray a to three decimal places.The first and last three element in the
OR
OR