A ANSI C Math Function which is simple for beginners