v(t) = V*(e^-at)*(cos wt)
Where ‘V’ is the maximum value of the oscillation, ‘a’ is the exponential damping factor, ‘w’ is the angular velocity (in radians per second) of the oscillation and ‘t’ represents the time. Assume V = 5, a = 0.1 and w = 0.01 radians per second. Write a program called DampedOsc.java that accepts t in seconds as input and prints out ‘v(t)’.