some miscellaneous functions related to conics