R&D strategies and variable demand