 Somewhere in the combination of the science he had learned in his own world and the technique of magic that applied here there had to be an answer--or a means to hold back the end of the world until an answer could be found.
Between the science and magical techniques he had learned, there must have been a solution.
Despite all the science and the magic he had learned, he suspected that there just wasn't an answer.