APPROXIMATING THE DENSITY OF THE TIME TO RUIN VIA FOURIER-COSINE SERIES EXPANSION. Issue 1 (19th September 2016)