creating an engineering calculator with various mathematical functions