1. (Writing to a file). A damped sine wave is a sinusoidal function whose amplitude approaches zero as time increases. ( ) ( ( )) Write a program that will generate a data file containing 100 value points (Y(t)) from a damped sine function. Make use of the math library functions for the exponent and sine calculations. Use the following formula for time: t = (k-1)/10.0 where 1 = k =100. Make sure that each record in your data file contains the fields for time and its corresponding Y(t).