Question 1
Question 2
Question 3
Question 4,5,6
References
Britanak, V., Yip, P. C., & Rao, K. R. (2010). Discrete cosine and sine transforms: general properties, fast algorithms and integer approximations. Elsevier.
Zakariyah, S. S. (2014). INDICES & LOGARITHMS.