Text this: Dynamic System Analysis of Investment in Both Production and R&D with Time Delay