But you had no good cause to do ignore the contradictory text. The question asked
BadBoy supplied enough information to make it clear that the proposed demand function is not linear, and psion10 quite accurately described the math.
But your own assumption, while slightly less unrealistic than BadBoy's, is even less justifiable given your background. You have assumed a linear demand function over the price range of 7 to 18 dollars, based on the observation of zero demand at 18 dollars. Really? On the one hand, assumptions of perfectly linear demand are commonly used in economics due to the mathematical simplicity which results, but real-world businesses know better. At the very least, very high asking prices can produce non-zero demands due to perceived status effects. Worse, even assuming a linear demand model, there is simply no evidence that, for instance, a cost of 17 dollars would not have likewise produced zero demand. In other words, your assumption that 18 dollars/zero demand establishes a real end point to the linear demand function is one you pulled out of a hat, and you should know better.
Neither do you.
Exactly. While I applaud the larger meaning, it also applies to your own assumptions.
With that said, BadBoy should be aware that his exponential demand function rises so sharply that for any price greater than 11 dollars, demand becomes negative, so the model function he proposed doesn't seem terribly likely.
But psion10's analysis is correct for the demand function given.