lecture notes design and analysis 9549732