Emakarov is correct. Look at the example at the bottom of the article concerning real world applications. Your problem is just a slight variation: consider the function .
I knew it was something around the intermediate value theory
After reading all the article i found simmilar problem and it's solution.
So thanks for your help.