Regarding creation of libraries

like if i didint declare a sqrt function separately , and wanted it to be covered by the math library option … cant this be possible ? or will i have to create a new function for sqrt in the ques for finding discriminant ?