Madcoil, this is what I get with SWI Prolog:
?- trace, power(5,3,P).
Call: (8) power(5, 3, _G162) ? creep
^ Call: (9) 3>0 ? creep
^ Exit: (9) 3>0 ? creep
^ Call: (9) _G237 is 3-1 ? creep
^ Exit: (9) 2 is 3-1 ? creep
Call: (9) power(5, 2, _G236) ? creep
^ Call: (10) 2>0 ? creep
^ Exit: (10) 2>0 ? creep
^ Call: (10) _G240 is 2-1 ? creep
^ Exit: (10) 1 is 2-1 ? creep
Call: (10) power(5, 1, _G239) ? creep
^ Call: (11) 1>0 ? creep
^ Exit: (11) 1>0 ? creep
^ Call: (11) _G243 is 1-1 ? creep
^ Exit: (11) 0 is 1-1 ? creep
Call: (11) power(5, 0, _G242) ? creep
Call: (12) _G243=1 ? creep
Exit: (12) 1=1 ? creep
Exit: (11) power(5, 0, 1) ? creep
^ Call: (11) _G246 is 1*5 ? creep
^ Exit: (11) 5 is 1*5 ? creep
Exit: (10) power(5, 1, 5) ? creep
^ Call: (10) _G249 is 5*5 ? creep
^ Exit: (10) 25 is 5*5 ? creep
Exit: (9) power(5, 2, 25) ? creep
^ Call: (9) _G162 is 25*5 ? creep
^ Exit: (9) 125 is 25*5 ? creep
Exit: (8) power(5, 3, 125) ? creep
P = 125
Yes
Allister:
No, I don't think so, computers have limitations, however human intelligence can be simulated with a computer, the turing test is such a simulation. You place a computer in a room, and then have a human ask it questions and let it answer, and if the human cannot discern it from another human then it is computer simulated intelligence.
My religious opinon of it is irrelevant, ideas like "soul" or "spirit" are things that cannot be tested in any way. People have these ideas still, and its not just a useless concept, they dictate how they live, its similar to how code dictate the function of a program.