Given Revenue = No. of Sandwiches sold x price per sandwich
For every 10 cent drop, dell sells 40 more sandwhiches
i.e. 1 cent drop, no. of sandwich +4
let x be how many of cent of price drop
No. of sandwiches sold = 640+4x when price = 8-0.01x
Revenue = (640+4x)*(8-0.01x)
= 5120 - 6.4x +32x -0.04x^2
= -0.04x^2 + 25.6x + 5120
To find max revenue, differentiate by x and set it to 0
dRevenue/da = -0.08x + 25.6 = 0
0.08x = 25.6
x = 25.6/0.08 = 320
So the revenue is max when x=320 i.e. price = 8 - 0.01*320 = $4.8