karthi
I have been a amateur magician (magic ticks, not voodoo or occult) for about 20 years. Can probably answer some questions you have.
Are you referring to principals of science presented as magic/religion? There is very little documentation on this but several Greek inventors created things such as constantly refilling basins and automatic opening doors. Look up Hero of Alexandria and Dedi
also
A History of Magic and Experimental Science during the First Thirteen Centuries of Our Era by Lynn Thorndike
And this may help too http://biblioflip.com/news/index.php?module=PayPalCart&func=detail&pid=14
Image is from http://www.mlahanas.de/Greeks/HeronAlexandria-Dateien
Alchemy can also give you insight to magic and science, expect to do a ton of research just to translate the coded text though.