Installing external libary help

Yes, the math library is a standard part of the compiler. You should only have to add the line:

#include <math.h>