Title: Three essays on the economics of research and development and its interaction with capital investment