How To Find Endpoint Formula